Changeset 6284 in josm


Ignore:
Timestamp:
2013-10-02T00:44:18+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/Findbugs - Malicious code vulnerability - Field should be moved out of an interface

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyle.java

    r5571 r6284  
    1515
    1616abstract public class ElemStyle implements StyleKeys {
     17
     18    protected static final String[] ICON_KEYS = {"icon-image", "icon-width", "icon-height", "icon-opacity"};
     19    protected static final String[] REPEAT_IMAGE_KEYS = {"repeat-image", "repeat-image-width", "repeat-image-height", "repeat-image-opacity"};
    1720
    1821    public float major_z_index;
  • trunk/src/org/openstreetmap/josm/gui/mappaint/StyleKeys.java

    r5812 r6284  
    3232    int ICON_HEIGHT_IDX = 2;
    3333    int ICON_OPACITY_IDX = 3;
    34     String[] ICON_KEYS = {"icon-image", "icon-width", "icon-height", "icon-opacity"};
    35     String[] REPEAT_IMAGE_KEYS = {"repeat-image", "repeat-image-width", "repeat-image-height", "repeat-image-opacity"};
    3634}
Note: See TracChangeset for help on using the changeset viewer.