Index: trunk/scripts/SyncEditorLayerIndex.java
===================================================================
--- trunk/scripts/SyncEditorLayerIndex.java	(revision 18989)
+++ trunk/scripts/SyncEditorLayerIndex.java	(revision 19106)
@@ -108,6 +108,6 @@
     private static String optionEncoding;
     private static boolean optionNoEli;
-    private Map<String, String> skip = new HashMap<>();
-    private Map<String, String> skipStart = new HashMap<>();
+    private final Map<String, String> skip = new HashMap<>();
+    private final Map<String, String> skipStart = new HashMap<>();
 
     /**
@@ -238,5 +238,5 @@
 
     void loadSkip() throws IOException {
-        final Pattern pattern = Pattern.compile("^\\|\\| *(ELI|Ignore) *\\|\\| *\\{\\{\\{(.+)\\}\\}\\} *\\|\\|");
+        final Pattern pattern = Pattern.compile("^\\|\\| *(ELI|Ignore) *\\|\\| *\\{\\{\\{(.+)}}} *\\|\\|");
         try (BufferedReader fr = Files.newBufferedReader(Paths.get(ignoreInputFile), UTF_8)) {
             String line;
@@ -479,6 +479,6 @@
                     shapes += sep + "</shape>\n";
                 }
-            } catch (IllegalArgumentException ignored) {
-                Logging.trace(ignored);
+            } catch (IllegalArgumentException illegalArgumentException) {
+                Logging.trace(illegalArgumentException);
             }
             if (!shapes.isEmpty()) {
@@ -776,7 +776,7 @@
             if (m.matches()) {
                 Calendar cal = Calendar.getInstance();
-                cal.set(Integer.valueOf(m.group(2)),
-                        m.group(4) == null ? 0 : Integer.valueOf(m.group(4))-1,
-                        m.group(6) == null ? 1 : Integer.valueOf(m.group(6)));
+                cal.set(Integer.parseInt(m.group(2)),
+                        m.group(4) == null ? 0 : Integer.parseInt(m.group(4))-1,
+                        m.group(6) == null ? 1 : Integer.parseInt(m.group(6)));
                 cal.add(Calendar.DAY_OF_MONTH, -1);
                 ed2 = m.group(1) + cal.get(Calendar.YEAR);
@@ -1230,5 +1230,5 @@
                 } else {
                     try {
-                        URL jurl = new URL(u.replaceAll("\\{switch:[^\\}]*\\}", "x"));
+                        URL jurl = new URL(u.replaceAll("\\{switch:[^}]*}", "x"));
                         String domain = jurl.getHost();
                         int port = jurl.getPort();
@@ -1375,9 +1375,7 @@
         List<String> r = new ArrayList<>();
         List<String> u = getProjectionsUnstripped(e);
-        if (u != null) {
-            for (String p : u) {
-                if (!oldproj.containsKey(p) && !("CRS:84".equals(p) && !(getUrlStripped(e).matches("(?i)version=1\\.3")))) {
-                    r.add(p);
-                }
+        for (String p : u) {
+            if (!oldproj.containsKey(p) && !("CRS:84".equals(p) && !(getUrlStripped(e).matches("(?i)version=1\\.3")))) {
+                r.add(p);
             }
         }
