Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/exports/sq/SQRelationExporter.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | b30068e92757 |
children | 740d65e4aa14 0a5239a1e46e |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/sq/SQRelationExporter.java Thu Jan 18 20:10:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/sq/SQRelationExporter.java Thu Jan 18 20:12:01 2018 +0100 @@ -249,7 +249,10 @@ } } - protected List<String[]> data2StringArrays(SQResult result, boolean includeMeasurements) { + protected List<String[]> data2StringArrays( + SQResult result, + boolean includeMeasurements + ) { String km = Formatter.getSQRelationKM(context ).format(result.getKm()); List<String[]> retval = new ArrayList<String[]>(); @@ -280,7 +283,8 @@ /* The std_dev parameter contains the standard error actually */ sd = fThreeFormatter.format(parameters.getValue(0, "std_dev")); max_q = fZeroFormatter.format(parameters.getValue(0, "max_q")); - c_ferguson = fTwoFormatter.format(parameters.getValue(0, "c_ferguson")); + c_ferguson = fTwoFormatter.format( + parameters.getValue(0, "c_ferguson")); c_duan = fTwoFormatter.format(parameters.getValue(0, "c_duan")); r2 = fTwoFormatter.format(parameters.getValue(0, "r2")); @@ -393,7 +397,8 @@ source.addMetaData("date", df.format(new Date())); SQRelationAccess access = new SQRelationAccess(arti); - source.addMetaData("location", "KM " + getKmFormatter().format(access.getLocation())); + source.addMetaData( + "location", "KM " + getKmFormatter().format(access.getLocation())); DateRange period = access.getPeriod(); source.addMetaData("periods", df.format(period.getFrom()) + " - " + @@ -402,7 +407,8 @@ source.addMetaData("outliertest", Resources.getMsg(meta, access.getOutlierMethod(), access.getOutlierMethod())); - source.addMetaData("outliers", Formatter.getRawFormatter(context).format( + source.addMetaData( + "outliers", Formatter.getRawFormatter(context).format( access.getOutliers())); source.addMetaData("calculation", Resources.getMsg( @@ -418,7 +424,8 @@ source.addMetaData("msName", ""); } - String measurementStationGaugeName = access.getMeasurementStationGaugeName(); + String measurementStationGaugeName = access + .getMeasurementStationGaugeName(); if (measurementStationGaugeName != null) { source.addMetaData("msGauge", measurementStationGaugeName);