Changeset 13173 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionManager.java
- Timestamp:
- 2017-11-28T00:56:29+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionManager.java
r13121 r13173 245 245 /** 246 246 * replies the auto completion values allowed for a specific key. Replies 247 * an empty list if key is null or if key is not in {@link #get Keys()}.247 * an empty list if key is null or if key is not in {@link #getTagKeys()}. 248 248 * 249 249 * @param key OSM key … … 343 343 list.addUserInput(getUserInputValues(key)); 344 344 } 345 }346 347 /**348 * Returns the currently cached tag keys.349 * @return a list of tag keys350 * @deprecated to be removed end of 2017. Use {@link #getTagKeys()} instead351 */352 @Deprecated353 public List<AutoCompletionListItem> getKeys() {354 return getTagKeys().stream().map(AutoCompletionListItem::new).collect(Collectors.toList());355 }356 357 /**358 * Returns the currently cached tag values for a given tag key.359 * @param key the tag key360 * @return a list of tag values361 * @deprecated to be removed end of 2017. Use {@link #getTagValues(String)} instead362 */363 @Deprecated364 public List<AutoCompletionListItem> getValues(String key) {365 return getTagValues(key).stream().map(AutoCompletionListItem::new).collect(Collectors.toList());366 }367 368 /**369 * Returns the currently cached tag values for a given list of tag keys.370 * @param keys the tag keys371 * @return a list of tag values372 * @deprecated to be removed end of 2017. Use {@link #getTagValues(List)} instead373 */374 @Deprecated375 public List<AutoCompletionListItem> getValues(List<String> keys) {376 return getTagValues(keys).stream().map(AutoCompletionListItem::new).collect(Collectors.toList());377 345 } 378 346
Note:
See TracChangeset
for help on using the changeset viewer.