diff artifacts/src/main/java/org/dive4elements/river/exports/process/FlowVelocityProcessor.java @ 8853:8c64617a7991

Some source code comments and fixme's
author gernotbelger
date Thu, 18 Jan 2018 18:33:52 +0100
parents 8dbb969091c5
children 28df64078f27
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/FlowVelocityProcessor.java	Thu Jan 18 18:32:30 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/FlowVelocityProcessor.java	Thu Jan 18 18:33:52 2018 +0100
@@ -89,6 +89,9 @@
     @Override
     public String getAxisLabel(DiagramGenerator generator) {
         if (yAxisLabel != null && !yAxisLabel.isEmpty()) {
+        	// FIXME/UNINTENDED: yAxisLabel is probably a resolved message (side-effect of StyledXYSeries#putMetadata),
+        	// and cannot be resolved again.
+        	// An explicit (German) default label is therefore given here, probably the English version will also show German (CHECK)
             return generator.msg(yAxisLabel, I18N_AXIS_LABEL_DEFAULT);
         }
         return generator.msg(

http://dive4elements.wald.intevation.org