[Dive4elements-commits] [PATCH 03 of 13] SyncNumberAxis: Open up constructor and setter of shift (why were these protected anyway?)

Wald Commits scm-commit at wald.intevation.org
Thu Jun 27 10:40:12 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1372281042 -7200
# Node ID 055443cfc1ad2e4854f061c0d07fc0dbfab6b800
# Parent  4b13e930a7e3e1cbc18024a55459d616851daa7e
SyncNumberAxis: Open up constructor and setter of shift (why were these protected anyway?)

diff -r 4b13e930a7e3 -r 055443cfc1ad artifacts/src/main/java/org/dive4elements/river/exports/SyncNumberAxis.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/SyncNumberAxis.java	Wed Jun 26 23:07:51 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/SyncNumberAxis.java	Wed Jun 26 23:10:42 2013 +0200
@@ -33,7 +33,7 @@
     protected double shift;
 
 
-    protected SyncNumberAxis(String key, String label, NumberAxis n) {
+    public SyncNumberAxis(String key, String label, NumberAxis n) {
         super(key, label);
         this.proxyAxis = n;
     }
@@ -48,7 +48,7 @@
     }
 
     /** Set value by which to translate the range. */
-    protected void setShift(double shift) {
+    public void setShift(double shift) {
         this.shift = shift;
     }
 


More information about the Dive4elements-commits mailing list