comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/GaugeDischargeState.java @ 8390:e52a7daabe0f

For whatever reason (if any) facet descriptions with trailing whitespace are stripped from the legend.
author Tom Gottfried <tom@intevation.de>
date Tue, 07 Oct 2014 19:19:50 +0200
parents e4606eae8ea5
children 6ae0c5116d58
comparison
equal deleted inserted replaced
8389:1e1b08d033f4 8390:e52a7daabe0f
84 }; 84 };
85 85
86 String name = Resources.getMsg( 86 String name = Resources.getMsg(
87 meta, 87 meta,
88 "chart.computed.discharge.curve.gauge", 88 "chart.computed.discharge.curve.gauge",
89 "",
90 args); 89 args);
91 90
92 return name; 91 return name;
93 } 92 }
94 93
160 DISCHARGE_CURVE, 159 DISCHARGE_CURVE,
161 createFacetName(dischargeArtifact, context.getMeta())); 160 createFacetName(dischargeArtifact, context.getMeta()));
162 161
163 facets.add(facet); 162 facets.add(facet);
164 163
165 //facets.add(new DataFacet(CSV, "CSV data"));
166 //facets.add(new DataFacet(PDF, "PDF data"));
167
168 if (res.getReport().hasProblems()) { 164 if (res.getReport().hasProblems()) {
169 facets.add(new ReportFacet()); 165 facets.add(new ReportFacet());
170 } 166 }
171 } 167 }
172 else { 168 else {

http://dive4elements.wald.intevation.org