Index: /trunk/scripts/SyncEditorLayerIndex.java
===================================================================
--- /trunk/scripts/SyncEditorLayerIndex.java	(revision 19138)
+++ /trunk/scripts/SyncEditorLayerIndex.java	(revision 19139)
@@ -283,5 +283,5 @@
         if (outputStream != null) {
             try {
-                outputStream.write(s + System.getProperty("line.separator"));
+                outputStream.write(s + System.lineSeparator());
             } catch (IOException e) {
                 throw new JosmRuntimeException(e);
@@ -386,4 +386,5 @@
         myprintln("*** Loaded "+eliEntries.size()+" entries (ELI). ***");
     }
+
     void loadELIUsers() throws IOException {
         try (JsonReader jr = Json.createReader(Files.newBufferedReader(Paths.get(idInputFile), UTF_8))) {
@@ -635,9 +636,9 @@
             for (String l : le) {
                 String e = "";
-                if(idUrls.get(l) != null && rapidUrls.get(l) != null)
+                if (idUrls.get(l) != null && rapidUrls.get(l) != null)
                     e = " **iD+Rapid**";
-                else if(idUrls.get(l) != null)
+                else if (idUrls.get(l) != null)
                     e = " **iD**";
-                else if(rapidUrls.get(l) != null)
+                else if (rapidUrls.get(l) != null)
                     e = " **Rapid**";
                 myprintln("-  " + getDescription(eliUrls.get(l)) + e);
@@ -1372,5 +1373,5 @@
             return p.getString("url");
         else
-            return ((JsonObject)e).getString("template");
+            return ((JsonObject) e).getString("template");
     }
 
Index: /trunk/src/org/openstreetmap/josm/gui/progress/swing/ProgressMonitorExecutor.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/progress/swing/ProgressMonitorExecutor.java	(revision 19138)
+++ /trunk/src/org/openstreetmap/josm/gui/progress/swing/ProgressMonitorExecutor.java	(revision 19139)
@@ -15,5 +15,5 @@
 /**
  * Executor that displays the progress monitor to the user.
- *
+ * <p>
  * Similar to Executors.newSingleThreadExecutor(), but displays the
  * progress monitor whenever a new task is executed.
@@ -29,5 +29,5 @@
     public ProgressMonitorExecutor(final String nameFormat, final int threadPriority) {
         super(1, 1, 0L, TimeUnit.MILLISECONDS,
-                new LinkedBlockingQueue<Runnable>(),
+                new LinkedBlockingQueue<>(),
                 Utils.newThreadFactory(nameFormat, threadPriority));
     }
Index: /trunk/src/org/openstreetmap/josm/tools/PlatformHook.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/tools/PlatformHook.java	(revision 19138)
+++ /trunk/src/org/openstreetmap/josm/tools/PlatformHook.java	(revision 19139)
@@ -404,5 +404,6 @@
         if (missingArguments.length() > 0) {
             final String args = missingArguments.toString();
-            messages.add(tr("Missing JVM Arguments:<br>{0}<br>These arguments should be added in the command line or start script before the -jar parameter.", args));
+            messages.add(tr("Missing JVM Arguments:<br>{0}<br>" +
+                    "These arguments should be added in the command line or start script before the -jar parameter.", args));
         }
         if (!messages.isEmpty()) {
