Changeset 11972 in josm for trunk/src


Ignore:
Timestamp:
2017-04-22T14:29:38+02:00 (7 years ago)
Author:
bastiK
Message:

see #7427 - remove obsolete code

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java

    r11971 r11972  
    100100     * @param imageIn tile image to reproject
    101101     */
    102     public void transform(BufferedImage imageIn) {
     102    protected void transform(BufferedImage imageIn) {
    103103        if (!Main.isDisplayingMapView()) {
    104104            reset();
  • trunk/src/org/openstreetmap/josm/tools/ImageWarp.java

    r11971 r11972  
    134134         * Simplest possible method. Faster, but not very good quality.
    135135         */
    136         NEAREST_NEIGHBOR(1),
     136        NEAREST_NEIGHBOR,
     137
    137138        /**
    138139         * Bilinear.
     
    140141         * Decent quality.
    141142         */
    142         BILINEAR(2);
    143 
    144         private final int margin;
    145 
    146         private Interpolation(int margin) {
    147             this.margin = margin;
    148         }
    149 
    150         /**
    151          * Number of pixels to scan outside the source image.
    152          * Used to get smoother borders.
    153          * @return the margin
    154          */
    155         public int getMargin() {
    156             return margin;
    157         }
     143        BILINEAR;
    158144    }
    159145
Note: See TracChangeset for help on using the changeset viewer.