Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java @ 3076:5642a83420f2
FLYS artifacts: Removed trailing whitespace.
flys-artifacts/trunk@4670 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 09:30:07 +0000 |
parents | 0fa37d4de13d |
children | cd5eb8f5f6f1 |
comparison
equal
deleted
inserted
replaced
3075:db9e2bb34707 | 3076:5642a83420f2 |
---|---|
48 List<DataProvider> providers = context.getDataProvider(dataKey); | 48 List<DataProvider> providers = context.getDataProvider(dataKey); |
49 if (providers.size() < 1) { | 49 if (providers.size() < 1) { |
50 logger.warn("Could not find Cross-Section data provider to get master cs km."); | 50 logger.warn("Could not find Cross-Section data provider to get master cs km."); |
51 return null; | 51 return null; |
52 } | 52 } |
53 | 53 |
54 FastCrossSectionLine crossSection = (FastCrossSectionLine) providers.get(0) | 54 FastCrossSectionLine crossSection = (FastCrossSectionLine) providers.get(0) |
55 .provideData(dataKey, null, context); | 55 .provideData(dataKey, null, context); |
56 | 56 |
57 double km = crossSection.getKm(); | 57 double km = crossSection.getKm(); |
58 logger.debug("HYKFacet.getData: Master Cross Section is at km: " + km); | 58 logger.debug("HYKFacet.getData: Master Cross Section is at km: " + km); |
64 return hyk.compute(context, hash, stateId, type, false); | 64 return hyk.compute(context, hash, stateId, type, false); |
65 } | 65 } |
66 | 66 |
67 | 67 |
68 /** Do a deep copy. */ | 68 /** Do a deep copy. */ |
69 @Override | 69 @Override |
70 public Facet deepCopy() { | 70 public Facet deepCopy() { |
71 HYKFacet copy = new HYKFacet(this.index, this.description); | 71 HYKFacet copy = new HYKFacet(this.index, this.description); |
72 copy.set(this); | 72 copy.set(this); |
73 return copy; | 73 return copy; |
74 } | 74 } |