Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AreaFacet.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 | bb0dede9294f |
children | a66df8e8d3df |
comparison
equal
deleted
inserted
replaced
3075:db9e2bb34707 | 3076:5642a83420f2 |
---|---|
60 String stemFacetName = null; | 60 String stemFacetName = null; |
61 | 61 |
62 List<DataProvider> providers = context. | 62 List<DataProvider> providers = context. |
63 getDataProvider(artifact.getLowerDPKey()); | 63 getDataProvider(artifact.getLowerDPKey()); |
64 if (providers.size() < 1) { | 64 if (providers.size() < 1) { |
65 logger.warn("No 'lower' provider given for area [" + | 65 logger.warn("No 'lower' provider given for area [" + |
66 artifact.getLowerDPKey() + "]"); | 66 artifact.getLowerDPKey() + "]"); |
67 } | 67 } |
68 else { | 68 else { |
69 lowerData = providers.get(0).provideData( | 69 lowerData = providers.get(0).provideData( |
70 artifact.getLowerDPKey(), null, context); | 70 artifact.getLowerDPKey(), null, context); |
71 logger.debug("'Lower' data provider key for area [" + | 71 logger.debug("'Lower' data provider key for area [" + |
72 artifact.getLowerDPKey() + "]"); | 72 artifact.getLowerDPKey() + "]"); |
73 stemFacetName = artifact.getLowerDPKey().split(":")[1]; | 73 stemFacetName = artifact.getLowerDPKey().split(":")[1]; |
74 } | 74 } |
75 | 75 |
76 providers = context.getDataProvider(artifact.getUpperDPKey()); | 76 providers = context.getDataProvider(artifact.getUpperDPKey()); |
96 Boolean.valueOf(artifact.getPaintBetween())); | 96 Boolean.valueOf(artifact.getPaintBetween())); |
97 } | 97 } |
98 | 98 |
99 | 99 |
100 /** Do a deep copy. */ | 100 /** Do a deep copy. */ |
101 @Override | 101 @Override |
102 public Facet deepCopy() { | 102 public Facet deepCopy() { |
103 AreaFacet copy = new AreaFacet(this.index, this.name, this.description); | 103 AreaFacet copy = new AreaFacet(this.index, this.name, this.description); |
104 copy.set(this); | 104 copy.set(this); |
105 return copy; | 105 return copy; |
106 } | 106 } |