Index: /trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java	(revision 11971)
+++ /trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java	(revision 11972)
@@ -100,5 +100,5 @@
      * @param imageIn tile image to reproject
      */
-    public void transform(BufferedImage imageIn) {
+    protected void transform(BufferedImage imageIn) {
         if (!Main.isDisplayingMapView()) {
             reset();
Index: /trunk/src/org/openstreetmap/josm/tools/ImageWarp.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/tools/ImageWarp.java	(revision 11971)
+++ /trunk/src/org/openstreetmap/josm/tools/ImageWarp.java	(revision 11972)
@@ -134,5 +134,6 @@
          * Simplest possible method. Faster, but not very good quality.
          */
-        NEAREST_NEIGHBOR(1),
+        NEAREST_NEIGHBOR,
+
         /**
          * Bilinear.
@@ -140,20 +141,5 @@
          * Decent quality.
          */
-        BILINEAR(2);
-
-        private final int margin;
-
-        private Interpolation(int margin) {
-            this.margin = margin;
-        }
-
-        /**
-         * Number of pixels to scan outside the source image.
-         * Used to get smoother borders.
-         * @return the margin
-         */
-        public int getMargin() {
-            return margin;
-        }
+        BILINEAR;
     }
 
