Mercurial > dive4elements > river
changeset 8593:a7eaf3e13bbe
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.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 19 Mar 2015 13:49:13 +0100 |
parents | 36faef4f8acb |
children | 5fe6e33666d4 |
files | artifacts/src/main/java/org/dive4elements/river/exports/StyledSeriesBuilder.java |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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);