Changeset 14302 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2018-10-06T23:29:06+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Stylable.java
r13636 r14302 5 5 6 6 /** 7 * Object that can be rendered using a cach able style.7 * Object that can be rendered using a cacheable style. 8 8 * @since 13636 9 9 */ -
trunk/src/org/openstreetmap/josm/data/osm/TagCollection.java
r12620 r14302 216 216 * @return The number of thimes this tag is used in this collection. 217 217 * @since 10736 218 */ 218 * @deprecated use {@link #getTagOccurrence} 219 */ 220 @Deprecated 219 221 public int getTagOccurence(Tag tag) { 222 return getTagOccurrence(tag); 223 } 224 225 /** 226 * Gets the number of this this tag was added to the collection. 227 * @param tag The tag 228 * @return The number of thimes this tag is used in this collection. 229 * @since 14301 230 */ 231 public int getTagOccurrence(Tag tag) { 220 232 return tags.getOrDefault(tag, 0); 221 233 } -
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r13922 r14302 193 193 194 194 /** 195 * Con tructs a new {@code Way} with id 0.195 * Constructs a new {@code Way} with id 0. 196 196 * @since 86 197 197 */ … … 201 201 202 202 /** 203 * Con tructs a new {@code Way} from an existing {@code Way}.203 * Constructs a new {@code Way} from an existing {@code Way}. 204 204 * @param original The original {@code Way} to be identically cloned. Must not be null 205 205 * @param clearMetadata If {@code true}, clears the OSM id and other metadata as defined by {@link #clearOsmMetadata}. … … 216 216 217 217 /** 218 * Con tructs a new {@code Way} from an existing {@code Way} (including its id).218 * Constructs a new {@code Way} from an existing {@code Way} (including its id). 219 219 * @param original The original {@code Way} to be identically cloned. Must not be null 220 220 * @since 86 … … 225 225 226 226 /** 227 * Con tructs a new {@code Way} for the given id. If the id > 0, the way is marked227 * Constructs a new {@code Way} for the given id. If the id > 0, the way is marked 228 228 * as incomplete. If id == 0 then way is marked as new 229 229 * … … 237 237 238 238 /** 239 * Con tructs a new {@code Way} with given id and version.239 * Constructs a new {@code Way} with given id and version. 240 240 * @param id the id. >= 0 required 241 241 * @param version the version -
trunk/src/org/openstreetmap/josm/data/projection/proj/Proj.java
r10805 r14302 93 93 94 94 /** 95 * Checks w ether the result of projecting a lon coordinate only has a linear relation to the east coordinate and95 * Checks whether the result of projecting a lon coordinate only has a linear relation to the east coordinate and 96 96 * is not related to lat/north at all. 97 97 * @return <code>true</code> if lon has a linear relationship to east only. -
trunk/src/org/openstreetmap/josm/data/validation/tests/Coastlines.java
r11608 r14302 64 64 /** 65 65 * Check connections between coastline ways. 66 * The nodes of a coastline way have to ful lfil these rules:66 * The nodes of a coastline way have to fulfil these rules: 67 67 * 1) the first node must be connected to the last node of a coastline way (which might be the same way) 68 68 * 2) the last node must be connected to the first node of a coastline way (which might be the same way)
Note:
See TracChangeset
for help on using the changeset viewer.