Index: trunk/test/unit/org/openstreetmap/josm/data/PreferencesTest.groovy
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/PreferencesTest.groovy	(revision 10915)
+++ trunk/test/unit/org/openstreetmap/josm/data/PreferencesTest.groovy	(revision 10922)
@@ -21,9 +21,9 @@
         assert new ColorProperty("foo", new Color(0x12345678, true)).get().alpha == 0x12
         assert Main.pref.putColor("bar", new Color(0x12345678, true))
-        assert new ColorProperty("bar", null).get().alpha == 0x12
+        assert new ColorProperty("bar", (String) null).get().alpha == 0x12
     }
 
     void testColorNameAlpha() {
-        assert new ColorProperty("foo", "bar", new Color(0x12345678, true)).get().alpha == 0x12
+        assert new ColorProperty("foo", new Color(0x12345678, true)).get().alpha == 0x12
         assert Main.pref.getDefaultColor("foo") == new Color(0x34, 0x56, 0x78, 0x12)
         assert Main.pref.getDefaultColor("foo").alpha == 0x12
