[PATCH] Removed code that ignores a user subtitle and sets a default subtitle

Wald Commits scm-commit at wald.intevation.org
Fri Jun 27 13:05:47 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1403867134 -7200
# Node ID 5eb8cd9201d8fc02344fb6f04d7834d9d8de9e38
# Parent  02b7ef079e6f19e0d4124c2a69123c25c7cce8be
Removed code that ignores a user subtitle and sets a default subtitle.

diff -r 02b7ef079e6f -r 5eb8cd9201d8 artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator2.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator2.java	Fri Jun 27 09:50:46 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator2.java	Fri Jun 27 13:05:34 2014 +0200
@@ -689,12 +689,6 @@
             if (subTitle == null) {
                 return getDefaultChartSubtitle();
             }
-            String defSubTitle = getDefaultChartSubtitle();
-            if (defSubTitle != null &&
-                !defSubTitle.isEmpty() &&
-                !subTitle.equals(defSubTitle)) {
-                return defSubTitle;
-            }
             else {
                 return subTitle;
             }


More information about the Dive4Elements-commits mailing list