Index: /trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java	(revision 10461)
+++ /trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java	(revision 10462)
@@ -863,5 +863,5 @@
     public String getExtendedUrl() {
         return imageryType.getTypeString() + (defaultMaxZoom != 0
-            ? ('['+(defaultMinZoom != 0 ? (Integer.toString(defaultMinZoom) + ',') : "")+defaultMaxZoom+"]") : "") + ':' + url;
+            ? ('['+(defaultMinZoom != 0 ? (Integer.toString(defaultMinZoom) + ',') : "")+defaultMaxZoom+']') : "") + ':' + url;
     }
 
Index: /trunk/src/org/openstreetmap/josm/gui/MapViewState.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/MapViewState.java	(revision 10461)
+++ /trunk/src/org/openstreetmap/josm/gui/MapViewState.java	(revision 10462)
@@ -344,5 +344,5 @@
         @Override
         public String toString() {
-            return "MapViewViewPoint [x=" + x + ", y=" + y + "]";
+            return "MapViewViewPoint [x=" + x + ", y=" + y + ']';
         }
     }
@@ -373,5 +373,5 @@
         @Override
         public String toString() {
-            return "MapViewEastNorthPoint [eastNorth=" + eastNorth + "]";
+            return "MapViewEastNorthPoint [eastNorth=" + eastNorth + ']';
         }
     }
@@ -417,5 +417,5 @@
 
         /**
-         * Gets the real bounds that enclose this rectangle. 
+         * Gets the real bounds that enclose this rectangle.
          * This is computed respecting that the borders of this rectangle may not be a straignt line in latlon coordinates.
          * @return The bounds.
Index: /trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CacheContentsPanel.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CacheContentsPanel.java	(revision 10461)
+++ /trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CacheContentsPanel.java	(revision 10462)
@@ -237,5 +237,5 @@
                         int row = ret.convertRowIndexToModel(ret.getEditingRow());
                         tableModel.setValueAt("0", row, 1);
-                        cache.remove(ret.getValueAt(row, 0) + ":");
+                        cache.remove(ret.getValueAt(row, 0).toString() + ':');
                     }
                 });
Index: /trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java	(revision 10461)
+++ /trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java	(revision 10462)
@@ -40,5 +40,6 @@
             if (locator == null)
                 return "";
-            return "(" + locator.getLineNumber() + ',' + locator.getColumnNumber() + ')';
+            return new StringBuilder().append('(').append(locator.getLineNumber())
+                                      .append(',').append(locator.getColumnNumber()).append(')').toString();
         }
 
Index: /trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/tools/ImageProvider.java	(revision 10461)
+++ /trunk/src/org/openstreetmap/josm/tools/ImageProvider.java	(revision 10462)
@@ -893,5 +893,5 @@
                     case typeArchive:
                         if (archive != null) {
-                            cacheName = "zip:"+archive.hashCode()+":"+cacheName;
+                            cacheName = "zip:"+archive.hashCode()+':'+cacheName;
                             ImageResource ir = cache.get(cacheName);
                             if (ir != null) return ir;
Index: /trunk/test/unit/org/openstreetmap/josm/gui/MapViewStateTest.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/gui/MapViewStateTest.java	(revision 10461)
+++ /trunk/test/unit/org/openstreetmap/josm/gui/MapViewStateTest.java	(revision 10462)
@@ -136,3 +136,14 @@
         }
     }
+
+    /**
+     * Test {@link MapViewState.MapViewViewPoint#toString()} and {@link MapViewState.MapViewEastNorthPoint#toString()}
+     */
+    @Test
+    public void testToString() {
+        assertEquals("MapViewViewPoint [x=1.0, y=2.0]",
+                state.getForView(1, 2).toString());
+        assertEquals("MapViewEastNorthPoint [eastNorth=EastNorth[e=0.0, n=0.0]]",
+                state.getPointFor(new EastNorth(0, 0)).toString());
+    }
 }
