[Dive4elements-commits] [PATCH 2 of 2] issue1225/1: Include river name in x axis label

Wald Commits scm-commit at wald.intevation.org
Tue May 28 11:47:41 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1369670340 -7200
# Node ID 4db57e2f35f54c6d21ec01885243b471386ca2d6
# Parent  613c1e14ba2881260f0527a0ef64be9cfa1e2bd4
issue1225/1: Include river name in x axis label.

diff -r 613c1e14ba28 -r 4db57e2f35f5 artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java	Mon May 27 17:57:18 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java	Mon May 27 17:59:00 2013 +0200
@@ -232,7 +232,9 @@
 
     @Override
     protected String getDefaultXAxisLabel() {
-        return msg(I18N_XAXIS_LABEL, I18N_XAXIS_LABEL_DEFAULT);
+        return msg(I18N_XAXIS_LABEL,
+                   I18N_XAXIS_LABEL_DEFAULT,
+                   new Object[] { getRiverName() });
     }
 
     @Override


More information about the Dive4elements-commits mailing list