diff artifacts/src/main/java/org/dive4elements/river/exports/LegendSection.java @ 9123:1cc7653ca84f

Cleanup of ChartGenerator and ChartGenerator2 code. Put some of the copy/pasted code into a common abstraction.
author gernotbelger
date Tue, 05 Jun 2018 19:21:16 +0200
parents af13ceeba52a
children
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/LegendSection.java	Tue Jun 05 19:10:38 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/LegendSection.java	Tue Jun 05 19:21:16 2018 +0200
@@ -55,8 +55,8 @@
     }
 
 
-    public Boolean getVisibility() {
-        return getBooleanValue(VISIBILITY_ATTR);
+    public boolean getVisibility() {
+        return getBooleanValue(VISIBILITY_ATTR, true);
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org