changeset 7974:5eb8cd9201d8

Removed code that ignores a user subtitle and sets a default subtitle.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 27 Jun 2014 13:05:34 +0200
parents 02b7ef079e6f
children 5dc5bbfdc023
files artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator2.java
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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;
             }

http://dive4elements.wald.intevation.org