Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/importer/parsers/LineParser.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 | 9d2e69f971f5 |
children | 0a5239a1e46e |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/LineParser.java Thu Jan 18 20:10:59 2018 +0100 +++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/LineParser.java Thu Jan 18 20:12:01 2018 +0100 @@ -52,7 +52,8 @@ } // class LineParserException - protected abstract void handleLine(int lineNum, String line) throws LineParserException; + protected abstract void handleLine(int lineNum, String line) + throws LineParserException; protected abstract void reset(); @@ -66,7 +67,8 @@ /** * This method reads each line of <i>file</i>. At the beginning, - * <i>reset()</i> is called; afterwards for each line <i>handleLine()</i> is + * <i>reset()</i> is called; + * afterwards for each line <i>handleLine()</i> is * called; at the end <i>finish</i> is called. * * @param file The file which should be parsed. @@ -127,7 +129,8 @@ return tmp.replaceAll(SEPERATOR_CHAR + "*$", "").trim(); } - public static double getDouble(String doubleString) throws ParseException { + public static double getDouble(String doubleString) + throws ParseException { NumberFormat nf = NumberFormat.getInstance(DEFAULT_LOCALE); Number value = nf.parse(doubleString);