Ignore:
Timestamp:
2014-02-25T01:31:24+01:00 (10 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

Location:
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapRendererFactory.java

    r6362 r6883  
    4242     *
    4343     */
    44     static public final String PREF_KEY_RENDERER_CLASS_NAME = "mappaint.renderer-class-name";
    45 
    46     static public class MapRendererFactoryException extends RuntimeException {
     44    public static final String PREF_KEY_RENDERER_CLASS_NAME = "mappaint.renderer-class-name";
     45
     46    public static class MapRendererFactoryException extends RuntimeException {
    4747        public MapRendererFactoryException() {
    4848        }
     
    6161    }
    6262
    63     static public class Descriptor {
     63    public static class Descriptor {
    6464        private Class<? extends AbstractMapRenderer> renderer;
    6565        private String displayName;
     
    8585    }
    8686
    87     static private MapRendererFactory instance;
     87    private static MapRendererFactory instance;
    8888
    8989    /**
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java

    r6713 r6883  
    3232     * <em>outer</em> polygon. Default is <tt>outer</tt>.
    3333     */
    34     static public final String PREF_KEY_OUTER_ROLES = "mappaint.multipolygon.outer.roles";
     34    public static final String PREF_KEY_OUTER_ROLES = "mappaint.multipolygon.outer.roles";
    3535    /** preference key for collection of role prefixes which indicate that the respective
    3636     *  member belongs to an <em>outer</em> polygon. Default is empty.
    3737     */
    38     static public final String PREF_KEY_OUTER_ROLE_PREFIXES = "mappaint.multipolygon.outer.role-prefixes";
     38    public static final String PREF_KEY_OUTER_ROLE_PREFIXES = "mappaint.multipolygon.outer.role-prefixes";
    3939    /** preference key for a collection of roles which indicate that the respective member belongs to an
    4040     * <em>inner</em> polygon. Default is <tt>inner</tt>.
    4141     */
    42     static public final String PREF_KEY_INNER_ROLES = "mappaint.multipolygon.inner.roles";
     42    public static final String PREF_KEY_INNER_ROLES = "mappaint.multipolygon.inner.roles";
    4343    /** preference key for collection of role prefixes which indicate that the respective
    4444     *  member belongs to an <em>inner</em> polygon. Default is empty.
    4545     */
    46     static public final String PREF_KEY_INNER_ROLE_PREFIXES = "mappaint.multipolygon.inner.role-prefixes";
     46    public static final String PREF_KEY_INNER_ROLE_PREFIXES = "mappaint.multipolygon.inner.role-prefixes";
    4747
    4848    /**
Note: See TracChangeset for help on using the changeset viewer.