# HG changeset patch # User Andre Heinecke # Date 1426769353 -3600 # Node ID a7eaf3e13bbe3c992203790e0f31db09c9681ef4 # Parent 36faef4f8acb7d0f29a2c9527829d0413c143ba2 Don't warn for defined behavior. Those functions have an option "skipNaN" so they should not warn about actually doing what they are supposed to do. diff -r 36faef4f8acb -r a7eaf3e13bbe artifacts/src/main/java/org/dive4elements/river/exports/StyledSeriesBuilder.java --- a/artifacts/src/main/java/org/dive4elements/river/exports/StyledSeriesBuilder.java Thu Mar 19 13:36:38 2015 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/StyledSeriesBuilder.java Thu Mar 19 13:49:13 2015 +0100 @@ -67,7 +67,6 @@ for (int i = 0; i < xPoints.length; i++) { if (skipNANs && (Double.isNaN(xPoints[i]) || Double.isNaN(yPoints[i]))) { - log.warn ("Skipping NaN in StyledSeriesBuilder."); continue; } // Create gap if distance >= distance. @@ -107,7 +106,6 @@ for (int i = 0; i < xPoints.length; i++) { if (skipNANs && (Double.isNaN(xPoints[i]) || Double.isNaN(yPoints[i]))) { - log.warn ("Skipping NaN in StyledSeriesBuilder."); continue; } // Create gap if distance >= distance. @@ -149,7 +147,6 @@ for (int i = 0; i < xPoints.length; i++) { if (skipNANs && (Double.isNaN(xPoints[i]) || Double.isNaN(yPoints[i]))) { - log.warn ("Skipping NaN in StyledSeriesBuilder."); continue; } series.add(xPoints[i], factorY * (transY+yPoints[i]), false); @@ -173,7 +170,6 @@ for (int i = 0; i < xPoints.length; i++) { if (skipNANs && (Double.isNaN(xPoints[i]) || Double.isNaN(yPoints[i]))) { - log.warn ("Skipping NaN in StyledSeriesBuilder."); continue; } series.add(xPoints[i], yPoints[i], false);