Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/utils/Formatter.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 | 3a0522f1a532 |
children | 5b5bdce5a216 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java Thu Jan 18 20:10:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java Thu Jan 18 20:12:01 2018 +0100 @@ -153,7 +153,11 @@ /** * Returns a number formatter that uses an exponent after max digits. */ - public static NumberFormat getScientificFormater(CallContext c, int min, int max) { + public static NumberFormat getScientificFormater( + CallContext c, + int min, + int max + ) { NumberFormat nf = getRawFormatter(c); if (nf instanceof DecimalFormat) { DecimalFormat df = (DecimalFormat)nf; @@ -407,7 +411,9 @@ } - public static NumberFormat getMiddleBedHeightSounding(CallContext context) { + public static NumberFormat getMiddleBedHeightSounding( + CallContext context + ) { return getFormatter( context, MIDDLE_BED_HEIGHT_SOUNDING_WIDTH_MIN_DIGITS,