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

see #7427 - remove obsolete code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.