comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.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 e4606eae8ea5
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
90 for (FlowVelocityData d: data) { 90 for (FlowVelocityData d: data) {
91 if (d.getType().equals("main")) { 91 if (d.getType().equals("main")) {
92 newFacets.add(new FlowVelocityFacet( 92 newFacets.add(new FlowVelocityFacet(
93 idx, 93 idx,
94 FLOW_VELOCITY_MAINCHANNEL, 94 FLOW_VELOCITY_MAINCHANNEL,
95 buildFacetName(artifact, context, d, I18N_MAINCHANNEL_FACET_RAW), 95 buildFacetName(
96 artifact, context, d, I18N_MAINCHANNEL_FACET_RAW),
96 ComputeType.ADVANCE, 97 ComputeType.ADVANCE,
97 id, 98 id,
98 hash 99 hash
99 )); 100 ));
100 101
125 } 126 }
126 else if (d.getType().equals("total")) { 127 else if (d.getType().equals("total")) {
127 newFacets.add(new FlowVelocityFacet( 128 newFacets.add(new FlowVelocityFacet(
128 idx, 129 idx,
129 FLOW_VELOCITY_TOTALCHANNEL, 130 FLOW_VELOCITY_TOTALCHANNEL,
130 buildFacetName(artifact, context, d, I18N_TOTALCHANNEL_FACET_RAW), 131 buildFacetName(
132 artifact, context, d, I18N_TOTALCHANNEL_FACET_RAW),
131 ComputeType.ADVANCE, 133 ComputeType.ADVANCE,
132 id, 134 id,
133 hash 135 hash
134 )); 136 ));
135 newFacets.add(new FlowVelocityFilterFacet( 137 newFacets.add(new FlowVelocityFilterFacet(
144 } 146 }
145 else if(d.getType().equals("main_total")) { 147 else if(d.getType().equals("main_total")) {
146 newFacets.add(new FlowVelocityFacet( 148 newFacets.add(new FlowVelocityFacet(
147 idx, 149 idx,
148 FLOW_VELOCITY_MAINCHANNEL, 150 FLOW_VELOCITY_MAINCHANNEL,
149 buildFacetName(artifact, context, d, I18N_MAINCHANNEL_FACET_RAW), 151 buildFacetName(
152 artifact, context, d, I18N_MAINCHANNEL_FACET_RAW),
150 ComputeType.ADVANCE, 153 ComputeType.ADVANCE,
151 id, 154 id,
152 hash 155 hash
153 )); 156 ));
154 newFacets.add(new FlowVelocityFacet( 157 newFacets.add(new FlowVelocityFacet(
160 hash 163 hash
161 )); 164 ));
162 newFacets.add(new FlowVelocityFacet( 165 newFacets.add(new FlowVelocityFacet(
163 idx, 166 idx,
164 FLOW_VELOCITY_TOTALCHANNEL, 167 FLOW_VELOCITY_TOTALCHANNEL,
165 buildFacetName(artifact, context, d, I18N_TOTALCHANNEL_FACET_RAW), 168 buildFacetName(
169 artifact, context, d, I18N_TOTALCHANNEL_FACET_RAW),
166 ComputeType.ADVANCE, 170 ComputeType.ADVANCE,
167 id, 171 id,
168 hash 172 hash
169 )); 173 ));
170 newFacets.add(new FlowVelocityFilterFacet( 174 newFacets.add(new FlowVelocityFilterFacet(

http://dive4elements.wald.intevation.org