Index: trunk/test/unit/org/openstreetmap/josm/command/RemoveNodesCommandTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/command/RemoveNodesCommandTest.java	(revision 15010)
+++ trunk/test/unit/org/openstreetmap/josm/command/RemoveNodesCommandTest.java	(revision 15013)
@@ -52,5 +52,5 @@
     public void testExecute() {
         RemoveNodesCommand command = new RemoveNodesCommand(testData.existingWay,
-                Collections.singletonList(testData.existingNode));
+                Collections.singleton(testData.existingNode));
 
         command.executeCommand();
@@ -67,5 +67,5 @@
     public void testUndo() {
         RemoveNodesCommand command = new RemoveNodesCommand(testData.existingWay,
-                Collections.singletonList(testData.existingNode));
+                Collections.singleton(testData.existingNode));
 
         command.executeCommand();
@@ -92,5 +92,5 @@
         ArrayList<OsmPrimitive> added = new ArrayList<>();
         RemoveNodesCommand command = new RemoveNodesCommand(testData.existingWay,
-                Collections.singletonList(testData.existingNode));
+                Collections.singleton(testData.existingNode));
         command.fillModifiedData(modified, deleted, added);
         assertArrayEquals(new Object[] {testData.existingWay }, modified.toArray());
@@ -105,5 +105,5 @@
     public void testGetParticipatingPrimitives() {
         RemoveNodesCommand command = new RemoveNodesCommand(testData.existingWay,
-                Collections.singletonList(testData.existingNode));
+                Collections.singleton(testData.existingNode));
         command.executeCommand();
         assertArrayEquals(new Object[] {testData.existingWay }, command.getParticipatingPrimitives().toArray());
@@ -115,5 +115,5 @@
     @Test
     public void testDescription() {
-        assertTrue(new RemoveNodesCommand(testData.existingWay, Collections.singletonList(testData.existingNode))
+        assertTrue(new RemoveNodesCommand(testData.existingWay, Collections.singleton(testData.existingNode))
                 .getDescriptionText().matches("Removed nodes from .*"));
     }
Index: trunk/test/unit/org/openstreetmap/josm/gui/io/UploadDialogTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/io/UploadDialogTest.java	(revision 15010)
+++ trunk/test/unit/org/openstreetmap/josm/gui/io/UploadDialogTest.java	(revision 15013)
@@ -280,5 +280,5 @@
      */
     @Test
-    public void testvalidateUploadTag() {
+    public void testValidateUploadTag() {
         doTestValidateUploadTag("upload.comment");
         doTestValidateUploadTag("upload.source");
