Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/CrossSectionFacet.java @ 8202:e4606eae8ea5
sed src/**/*.java 's/logger/log/g'
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 12:58:17 +0200 |
parents | af13ceeba52a |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
38 | 38 |
39 public static String BLACKBOARD_CS_NEXT_KM | 39 public static String BLACKBOARD_CS_NEXT_KM |
40 = "crosssection.masterprofile.km.next"; | 40 = "crosssection.masterprofile.km.next"; |
41 | 41 |
42 | 42 |
43 private static Logger logger = Logger.getLogger(CrossSectionFacet.class); | 43 private static Logger log = Logger.getLogger(CrossSectionFacet.class); |
44 | 44 |
45 protected ComputeType type; | 45 protected ComputeType type; |
46 | 46 |
47 | 47 |
48 /** Trivial constructor, set (maybe localized) description. */ | 48 /** Trivial constructor, set (maybe localized) description. */ |
96 } | 96 } |
97 else { | 97 else { |
98 Object obj = super.provideBlackboardData(artifact, key, param, | 98 Object obj = super.provideBlackboardData(artifact, key, param, |
99 context); | 99 context); |
100 if (obj == null) { | 100 if (obj == null) { |
101 logger.warn("Cannot provide data for key: " + key); | 101 log.warn("Cannot provide data for key: " + key); |
102 } | 102 } |
103 return obj; | 103 return obj; |
104 } | 104 } |
105 } | 105 } |
106 | 106 |
109 * Gets Cross Section (profile). | 109 * Gets Cross Section (profile). |
110 * @param art artifact to get data from. | 110 * @param art artifact to get data from. |
111 * @param context ignored | 111 * @param context ignored |
112 */ | 112 */ |
113 public Object getData(Artifact art, CallContext context) { | 113 public Object getData(Artifact art, CallContext context) { |
114 logger.debug("Get data for cross section"); | 114 log.debug("Get data for cross section"); |
115 | 115 |
116 CrossSectionArtifact artifact = (CrossSectionArtifact)art; | 116 CrossSectionArtifact artifact = (CrossSectionArtifact)art; |
117 | 117 |
118 return artifact.getCrossSectionData(); | 118 return artifact.getCrossSectionData(); |
119 } | 119 } |