Ignore:
Timestamp:
2016-03-07T21:45:35+01:00 (10 years ago)
Author:
Don-vip
Message:

remove deprecated stuff, code cleanup, javadoc, unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r9827 r9949  
    132132     */
    133133    public enum ImageSizes {
    134         /** SMALL_ICON value of on Action */
     134        /** SMALL_ICON value of an Action */
    135135        SMALLICON(Main.pref.getInteger("iconsize.smallicon", 16)),
    136         /** LARGE_ICON_KEY value of on Action */
     136        /** LARGE_ICON_KEY value of an Action */
    137137        LARGEICON(Main.pref.getInteger("iconsize.largeicon", 24)),
    138138        /** map icon */
     
    375375        overlayInfo.add(overlay);
    376376        return this;
    377     }
    378 
    379     /**
    380      * Convert enumerated size values to real numbers
    381      * @param size the size enumeration
    382      * @return dimension of image in pixels
    383      * @since 7687
    384      * @deprecated Use {@link ImageSizes#getImageDimension()} instead
    385      */
    386     @Deprecated
    387     public static Dimension getImageSizes(ImageSizes size) {
    388         return (size == null ? ImageSizes.DEFAULT : size).getImageDimension();
    389377    }
    390378
Note: See TracChangeset for help on using the changeset viewer.