diff backend/src/main/java/org/dive4elements/river/importer/parsers/DA66Parser.java @ 8843:3ecf1f76b2b8

Mark constants final.
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Jan 2018 12:12:27 +0100
parents 9d2e69f971f5
children 5e38e2924c07
line wrap: on
line diff
--- 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 =

http://dive4elements.wald.intevation.org