# HG changeset patch # User Sascha L. Teichmann # Date 1335948601 0 # Node ID 60925be3c84f6f232a2ea245ca25584496a24e0c # Parent 884ae61def588ff751e4bb32c3de8c79eeac6bf9 Make it compilable again after signature change in backend. flys-artifacts/trunk@4326 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 884ae61def58 -r 60925be3c84f flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Fri Apr 27 10:13:16 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed May 02 08:50:01 2012 +0000 @@ -1,3 +1,8 @@ +2012-05-02 Sascha L. Teichmann + + * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: + Make it compile again after signature change in backend. + 2012-04-27 Felix Wolfsteller * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Doc. diff -r 884ae61def58 -r 60925be3c84f flys-artifacts/src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java Fri Apr 27 10:13:16 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java Wed May 02 08:50:01 2012 +0000 @@ -29,6 +29,7 @@ import java.io.IOException; import java.io.PrintWriter; +import java.math.BigDecimal; import java.math.MathContext; import java.util.ArrayList; @@ -449,8 +450,8 @@ out.println("# " + pair.getA().getDescription()); for (CrossSectionPoint point: pair.getB().getPoints()) { out.println( - point.getX().round(mc) + " " + - point.getY().round(mc)); + new BigDecimal(point.getX()).round(mc) + " " + + new BigDecimal(point.getY()).round(mc)); } }