# HG changeset patch # User Tom Gottfried # Date 1515755547 -3600 # Node ID 3ecf1f76b2b891e9d0612982f920170e58b54a13 # Parent ff27548d078c11333f11c1e09b05fa8e7c4168c4 Mark constants final. diff -r ff27548d078c -r 3ecf1f76b2b8 backend/src/main/java/org/dive4elements/river/importer/Importer.java --- a/backend/src/main/java/org/dive4elements/river/importer/Importer.java Fri Jan 12 12:09:44 2018 +0100 +++ b/backend/src/main/java/org/dive4elements/river/importer/Importer.java Fri Jan 12 12:12:27 2018 +0100 @@ -36,9 +36,9 @@ public class Importer { /** Private log. */ - private static Logger log = Logger.getLogger(Importer.class); + private static final Logger log = Logger.getLogger(Importer.class); - private static String BWASTR_ID_CSV_FILE = "BWASTR_ID.csv"; + private static final String BWASTR_ID_CSV_FILE = "BWASTR_ID.csv"; protected List rivers; diff -r ff27548d078c -r 3ecf1f76b2b8 backend/src/main/java/org/dive4elements/river/importer/parsers/DA66Parser.java --- a/backend/src/main/java/org/dive4elements/river/importer/parsers/DA66Parser.java Fri Jan 12 12:09:44 2018 +0100 +++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/DA66Parser.java Fri Jan 12 12:12:27 2018 +0100 @@ -38,9 +38,9 @@ /** Private log. */ private static Logger log = Logger.getLogger(DA66Parser.class); - private static String HEAD_HEAD = "00"; - private static String HEAD_GEOM = "66"; // "Values" - private static String HEAD_ENDG = "88"; // Probably never used. + private static final String HEAD_HEAD = "00"; + private static final String HEAD_GEOM = "66"; // "Values" + private static final String HEAD_ENDG = "88"; // Probably never used. /** Regex to match lines of files in da66 format. */ private static final Pattern LINE_PATTERN =