# HG changeset patch # User Sascha L. Teichmann # Date 1380967994 -7200 # Node ID 1dff8e71c4d6a686b7cf3caad93df9fffcc98031 # Parent 720c5bbe2a16fbcd407398acec8e0064e57a54bc Removed trailing whitespace. diff -r 720c5bbe2a16 -r 1dff8e71c4d6 artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java Sat Oct 05 12:06:25 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java Sat Oct 05 12:13:14 2013 +0200 @@ -165,7 +165,7 @@ Object stateId = args.get(1); return artifactName instanceof String - && stateId instanceof String + && stateId instanceof String ? allStateSuccessors((String)artifactName, (String)stateId) : Collections.emptySet(); } @@ -253,7 +253,7 @@ Object locations = args.get(1); Object from = args.get(2); - if ((mode instanceof String && mode.equals("location")) || + if ((mode instanceof String && mode.equals("location")) || (locations instanceof String && !((String)locations).isEmpty())) { if (!(locations instanceof String)) { return -FAR_AWAY; diff -r 720c5bbe2a16 -r 1dff8e71c4d6 artifacts/src/main/java/org/dive4elements/river/artifacts/model/LinearInterpolated.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/LinearInterpolated.java Sat Oct 05 12:06:25 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/LinearInterpolated.java Sat Oct 05 12:13:14 2013 +0200 @@ -161,7 +161,7 @@ } public LinearInterpolated sub( - LinearInterpolated other, + LinearInterpolated other, double from, double to ) { @@ -169,7 +169,7 @@ } public LinearInterpolated max( - LinearInterpolated other, + LinearInterpolated other, double from, double to ) { diff -r 720c5bbe2a16 -r 1dff8e71c4d6 artifacts/src/main/java/org/dive4elements/river/artifacts/model/OfficialLineFinder.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/OfficialLineFinder.java Sat Oct 05 12:06:25 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/OfficialLineFinder.java Sat Oct 05 12:13:14 2013 +0200 @@ -53,7 +53,7 @@ public ValueRange( double start, - double end, + double end, double value, int wstId, int columnPos, diff -r 720c5bbe2a16 -r 1dff8e71c4d6 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java Sat Oct 05 12:06:25 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java Sat Oct 05 12:13:14 2013 +0200 @@ -450,7 +450,7 @@ String fraction = (String) row[3]; - TreeMap relevantStations = + TreeMap relevantStations = fraction.equals("suspended_sediment") /* || TODO clarify: fraction.equals("susp_sand") */ ? suspStations : floatStations; diff -r 720c5bbe2a16 -r 1dff8e71c4d6 artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQRelationCalculation.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQRelationCalculation.java Sat Oct 05 12:06:25 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQRelationCalculation.java Sat Oct 05 12:13:14 2013 +0200 @@ -416,7 +416,7 @@ if (bP == -1 || mP == -1 || aO == -1 || bO == -1) { log.error("index not found: " - + bP + " " + mP + " " + + bP + " " + mP + " " + aO + " " + bO); return coeffs; } diff -r 720c5bbe2a16 -r 1dff8e71c4d6 artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java --- a/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java Sat Oct 05 12:06:25 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java Sat Oct 05 12:13:14 2013 +0200 @@ -73,7 +73,7 @@ * * This class is the glue between output processors and facets. * The generator creates one diagram and calls the appropiate - * processors for the state and + * processors for the state and * * With respect to datasets, ranges and axis, there are following requirements: *