Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/BedHeightsArtifact.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | 4e8c80ff07e3 |
children | 8a1c6e2ad48b 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
118 if (facetType.equals(BEDHEIGHT_SOUNDING_WIDTH)) { | 118 if (facetType.equals(BEDHEIGHT_SOUNDING_WIDTH)) { |
119 bedHName = Resources.getMsg( | 119 bedHName = Resources.getMsg( |
120 callMeta, | 120 callMeta, |
121 "facet.bedheight.sounding_width", | 121 "facet.bedheight.sounding_width", |
122 new Object[] { bedHName }); | 122 new Object[] { bedHName }); |
123 facet = new BedHeightSoundingWidthFacet(facetType, bedHName); | 123 facet = new BedHeightSoundingWidthFacet( |
124 facetType, bedHName); | |
124 } | 125 } |
125 else { | 126 else { |
126 facet = new BedHeightFacet(facetType, bedHName); | 127 facet = new BedHeightFacet(facetType, bedHName); |
127 } | 128 } |
128 | 129 |
157 | 158 |
158 setStaticState(state); | 159 setStaticState(state); |
159 } | 160 } |
160 | 161 |
161 @Override | 162 @Override |
162 protected void initialize(Artifact artifact, Object context, CallMeta meta) { | 163 protected void initialize( |
164 Artifact artifact, | |
165 Object context, | |
166 CallMeta meta | |
167 ) { | |
163 // do not clone facets, etc. from master artifact | 168 // do not clone facets, etc. from master artifact |
164 | 169 |
165 log.debug("initialize"); | 170 log.debug("initialize"); |
166 importData((D4EArtifact)artifact, "river"); | 171 importData((D4EArtifact)artifact, "river"); |
167 importData((D4EArtifact)artifact, "ld_from"); | 172 importData((D4EArtifact)artifact, "ld_from"); |