Index: trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java	(revision 18341)
+++ trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java	(revision 18342)
@@ -54,5 +54,5 @@
 
     /**
-     * Adds the coordinates of an other EastNorth instance to this one.
+     * Adds the coordinates of another EastNorth instance to this one.
      * @param other The other instance.
      * @return The new EastNorth position.
@@ -158,5 +158,5 @@
 
     /**
-     * Returns an EastNorth representing the this EastNorth rotated around
+     * Returns an EastNorth representing this EastNorth rotated around
      * a given EastNorth by a given angle
      * @param pivot the center of the rotation
Index: trunk/src/org/openstreetmap/josm/gui/datatransfer/data/PrimitiveTagTransferData.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/datatransfer/data/PrimitiveTagTransferData.java	(revision 18341)
+++ trunk/src/org/openstreetmap/josm/gui/datatransfer/data/PrimitiveTagTransferData.java	(revision 18342)
@@ -42,5 +42,5 @@
         for (PrimitiveData primitive : source) {
             tags.get(primitive.getType()).add(TagCollection.from(primitive));
-            counts.merge(primitive.getType(), 1, (a, b) -> a + b);
+            counts.merge(primitive.getType(), 1, Integer::sum);
         }
     }
Index: trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java	(revision 18341)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java	(revision 18342)
@@ -349,8 +349,6 @@
                 if (ch == '\\' || ch == '(' || ch == '{' || ch == ',' || ch == ')' || ch == '}' || ch == '=') {
                     result.append('\\');
-                    result.append(ch);
-                } else {
-                    result.append(ch);
-                }
+                }
+                result.append(ch);
             }
         }
Index: trunk/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java	(revision 18341)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreference.java	(revision 18342)
@@ -131,8 +131,6 @@
                     }
                 sources.removeSources(sourcesToRemove);
-                return true;
-            } else {
-                return true;
             }
+            return true;
         }
     }
Index: trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java	(revision 18341)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReader.java	(revision 18342)
@@ -218,5 +218,4 @@
                     lastIds.pop();
                     ((Chunk) o).id = null;
-                    continue;
                 } else {
                     // if preset item contains an id, store a mapping for later usage
@@ -224,6 +223,6 @@
                     lastIds.push(lastId);
                     byId.put(lastId, new ArrayList<>());
-                    continue;
-                }
+                }
+                continue;
             } else if (!lastIds.isEmpty()) {
                 // add object to mapping for later usage
