Changeset 11384 in josm
- Timestamp:
- 2016-12-13T01:38:24+01:00 (8 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/PowerLines.java
r11129 r11384 33 33 34 34 /** Values for {@code power} key interpreted as power lines */ 35 protectedstatic final Collection<String> POWER_LINE_TAGS = Arrays.asList("line", "minor_line");35 static final Collection<String> POWER_LINE_TAGS = Arrays.asList("line", "minor_line"); 36 36 /** Values for {@code power} key interpreted as power towers */ 37 protectedstatic final Collection<String> POWER_TOWER_TAGS = Arrays.asList("tower", "pole");37 static final Collection<String> POWER_TOWER_TAGS = Arrays.asList("tower", "pole"); 38 38 /** Values for {@code power} key interpreted as power stations */ 39 protectedstatic final Collection<String> POWER_STATION_TAGS = Arrays.asList("station", "sub_station", "substation", "plant", "generator");39 static final Collection<String> POWER_STATION_TAGS = Arrays.asList("station", "sub_station", "substation", "plant", "generator"); 40 40 /** Values for {@code building} key interpreted as power stations */ 41 protectedstatic final Collection<String> BUILDING_STATION_TAGS = Arrays.asList("transformer_tower");41 static final Collection<String> BUILDING_STATION_TAGS = Arrays.asList("transformer_tower"); 42 42 /** Values for {@code power} key interpreted as allowed power items */ 43 protectedstatic final Collection<String> POWER_ALLOWED_TAGS = Arrays.asList("switch", "transformer", "busbar", "generator", "switchgear",43 static final Collection<String> POWER_ALLOWED_TAGS = Arrays.asList("switch", "transformer", "busbar", "generator", "switchgear", 44 44 "portal", "terminal", "insulator"); 45 45 -
trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedWay.java
r11129 r11384 45 45 46 46 /** Ways that must have a name */ 47 protectedstatic final Set<String> NAMED_WAYS = new HashSet<>();47 static final Set<String> NAMED_WAYS = new HashSet<>(); 48 48 static { 49 49 NAMED_WAYS.add("motorway"); … … 57 57 58 58 /** Whitelist of roles allowed to reference an untagged way */ 59 protectedstatic final Set<String> WHITELIST = new HashSet<>();59 static final Set<String> WHITELIST = new HashSet<>(); 60 60 static { 61 61 WHITELIST.add("outer"); -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r11383 r11384 102 102 * Set of all supported MapCSS keys. 103 103 */ 104 protectedstatic final Set<String> SUPPORTED_KEYS = new HashSet<>();104 static final Set<String> SUPPORTED_KEYS = new HashSet<>(); 105 105 static { 106 106 Field[] declaredFields = StyleKeys.class.getDeclaredFields(); -
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionManager.java
r10689 r11384 115 115 * the same as tagCache but for the preset keys and values can be accessed directly 116 116 */ 117 protectedstatic final MultiMap<String, String> PRESET_TAG_CACHE = new MultiMap<>();117 static final MultiMap<String, String> PRESET_TAG_CACHE = new MultiMap<>(); 118 118 119 119 /** 120 120 * Cache for tags that have been entered by the user. 121 121 */ 122 protectedstatic final Set<UserInputTag> USER_INPUT_TAG_CACHE = new LinkedHashSet<>();122 static final Set<UserInputTag> USER_INPUT_TAG_CACHE = new LinkedHashSet<>(); 123 123 124 124 /** … … 132 132 * the same as roleCache but for the preset roles can be accessed directly 133 133 */ 134 protectedstatic final Set<String> PRESET_ROLE_CACHE = new HashSet<>();134 static final Set<String> PRESET_ROLE_CACHE = new HashSet<>(); 135 135 136 136 /** -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/KeyedItem.java
r10591 r11384 28 28 29 29 /** Last value of each key used in presets, used for prefilling corresponding fields */ 30 protectedstatic final Map<String, String> LAST_VALUES = new HashMap<>();30 static final Map<String, String> LAST_VALUES = new HashMap<>(); 31 31 32 32 /** This specifies the property key that will be modified by the item. */ -
trunk/tools/findbugs/josm-filter.xml
r11380 r11384 1 1 <FindBugsFilter> 2 2 3 <Match> 4 <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" /> 5 </Match> 3 6 <Match> 4 7 <Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
Note:
See TracChangeset
for help on using the changeset viewer.