[PATCH] Use combine instead of combineignoringNaN (for compatibility)

Wald Commits scm-commit at wald.intevation.org
Wed Sep 18 15:46:09 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1379511889 -7200
# Branch generator-refactoring
# Node ID 59e477500a5098b519720296dece85cc1fb18277
# Parent  5c6fd2c010ddf0493c6180a6904f4c549847f46f
Use combine instead of combineignoringNaN (for compatibility)

    The ignoring NaN part was not actually necessary but just
    used for safety. combineIgnoringNaN is availbale only in
    jfreechart >=1.0.15

diff -r 5c6fd2c010dd -r 59e477500a50 artifacts/src/main/java/org/dive4elements/river/jfree/AxisDataset.java
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/AxisDataset.java	Wed Sep 18 15:04:26 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/jfree/AxisDataset.java	Wed Sep 18 15:44:49 2013 +0200
@@ -88,7 +88,7 @@
             if (range == null) {
                 range = newRange;
             } else {
-                range = Range.combineIgnoringNaN(range, newRange);
+                range = Range.combine(range, newRange);
             }
         }
         rangeDirty = false;


More information about the Dive4elements-commits mailing list