- Timestamp:
- 2015-10-15T01:02:36+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
r8870 r8882 81 81 public static double griddetail; 82 82 83 p ublicstatic final Collection<String> ignoredErrors = new TreeSet<>();83 private static final Collection<String> ignoredErrors = new TreeSet<>(); 84 84 85 85 /** -
trunk/src/org/openstreetmap/josm/data/validation/tests/PowerLines.java
r8512 r8882 37 37 38 38 /** Values for {@code power} key interpreted as power lines */ 39 p ublicstatic final Collection<String> POWER_LINE_TAGS = Arrays.asList("line", "minor_line");39 protected static final Collection<String> POWER_LINE_TAGS = Arrays.asList("line", "minor_line"); 40 40 /** Values for {@code power} key interpreted as power towers */ 41 p ublicstatic final Collection<String> POWER_TOWER_TAGS = Arrays.asList("tower", "pole");41 protected static final Collection<String> POWER_TOWER_TAGS = Arrays.asList("tower", "pole"); 42 42 /** Values for {@code power} key interpreted as power stations */ 43 p ublicstatic final Collection<String> POWER_STATION_TAGS = Arrays.asList("station", "sub_station", "substation", "plant", "generator");43 protected static final Collection<String> POWER_STATION_TAGS = Arrays.asList("station", "sub_station", "substation", "plant", "generator"); 44 44 /** Values for {@code power} key interpreted as allowed power items */ 45 p ublicstatic final Collection<String> POWER_ALLOWED_TAGS = Arrays.asList("switch", "transformer", "busbar", "generator", "switchgear");45 protected static final Collection<String> POWER_ALLOWED_TAGS = Arrays.asList("switch", "transformer", "busbar", "generator", "switchgear"); 46 46 47 47 private final Map<Way, String> towerPoleTagMap = new HashMap<>(); -
trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedWay.java
r8743 r8882 42 42 43 43 /** Ways that must have a name */ 44 p ublicstatic final Set<String> NAMED_WAYS = new HashSet<>();44 protected static final Set<String> NAMED_WAYS = new HashSet<>(); 45 45 static { 46 46 NAMED_WAYS.add("motorway"); … … 54 54 55 55 /** Whitelist of roles allowed to reference an untagged way */ 56 p ublicstatic final Set<String> WHITELIST = new HashSet<>();56 protected static final Set<String> WHITELIST = new HashSet<>(); 57 57 static { 58 58 WHITELIST.add("outer"); -
trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java
r8870 r8882 94 94 * A ? prefix indicates a boolean value, for which the key (instead of the value) is used. 95 95 */ 96 p ublicstatic final String[] DEFAULT_NAMING_TAGS_FOR_RELATIONS = {"name", "ref", "restriction", "landuse", "natural",96 protected static final String[] DEFAULT_NAMING_TAGS_FOR_RELATIONS = {"name", "ref", "restriction", "landuse", "natural", 97 97 "public_transport", ":LocationCode", "note", "?building"}; 98 98 -
trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyle.java
r8840 r8882 20 20 protected static final int ICON_OFFSET_X_IDX = 4; 21 21 protected static final int ICON_OFFSET_Y_IDX = 5; 22 public static final String[] ICON_KEYS = {ICON_IMAGE, ICON_WIDTH, ICON_HEIGHT, ICON_OPACITY, ICON_OFFSET_X, ICON_OFFSET_Y}; 23 public static final String[] REPEAT_IMAGE_KEYS = {REPEAT_IMAGE, REPEAT_IMAGE_WIDTH, REPEAT_IMAGE_HEIGHT, REPEAT_IMAGE_OPACITY, null, null}; 22 protected static final String[] ICON_KEYS = {ICON_IMAGE, ICON_WIDTH, ICON_HEIGHT, ICON_OPACITY, ICON_OFFSET_X, ICON_OFFSET_Y}; 23 protected static final String[] REPEAT_IMAGE_KEYS = {REPEAT_IMAGE, REPEAT_IMAGE_WIDTH, REPEAT_IMAGE_HEIGHT, REPEAT_IMAGE_OPACITY, 24 null, null}; 24 25 25 26 public float majorZIndex; -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Condition.java
r8880 r8882 119 119 CONTAINS; 120 120 121 p ublicstatic final Set<Op> NEGATED_OPS = EnumSet.of(NEQ, NREGEX);121 protected static final Set<Op> NEGATED_OPS = EnumSet.of(NEQ, NREGEX); 122 122 123 123 /** … … 283 283 284 284 public final Pattern pattern; 285 p ublicstatic final Set<Op> SUPPORTED_OPS = EnumSet.of(Op.REGEX, Op.NREGEX);285 protected static final Set<Op> SUPPORTED_OPS = EnumSet.of(Op.REGEX, Op.NREGEX); 286 286 287 287 public KeyValueRegexpCondition(String k, String v, Op op, boolean considerValAsKey) { -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r8870 r8882 100 100 * Set of all supported MapCSS keys. 101 101 */ 102 p ublicstatic final Set<String> SUPPORTED_KEYS = new HashSet<>();102 protected static final Set<String> SUPPORTED_KEYS = new HashSet<>(); 103 103 static { 104 104 Field[] declaredFields = StyleKeys.class.getDeclaredFields(); -
trunk/src/org/openstreetmap/josm/io/InvalidXmlCharacterFilter.java
r8870 r8882 22 22 private Reader reader; 23 23 24 p ublicstatic boolean firstWarning = true;24 private static boolean firstWarning = true; 25 25 26 p ublicstatic final boolean[] INVALID_CHARS;26 private static final boolean[] INVALID_CHARS; 27 27 28 28 static { -
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r8846 r8882 79 79 * Deprecated plugins that are removed on start 80 80 */ 81 p ublicstatic final Collection<DeprecatedPlugin> DEPRECATED_PLUGINS;81 protected static final Collection<DeprecatedPlugin> DEPRECATED_PLUGINS; 82 82 static { 83 83 String IN_CORE = tr("integrated into main program"); -
trunk/src/org/openstreetmap/josm/tools/FontsManager.java
r8419 r8882 22 22 * List of fonts embedded into JOSM jar. 23 23 */ 24 p ublicstatic final Collection<String> INCLUDED_FONTS = Arrays.asList(24 private static final Collection<String> INCLUDED_FONTS = Arrays.asList( 25 25 "DroidSans.ttf", 26 26 "DroidSans-Bold.ttf"
Note:
See TracChangeset
for help on using the changeset viewer.