Ignore:
Timestamp:
2017-11-28T00:56:29+01:00 (6 years ago)
Author:
Don-vip
Message:

see #15310 - remove most of deprecated APIs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionManager.java

    r13121 r13173  
    245245    /**
    246246     * 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 #getKeys()}.
     247     * an empty list if key is null or if key is not in {@link #getTagKeys()}.
    248248     *
    249249     * @param key OSM key
     
    343343            list.addUserInput(getUserInputValues(key));
    344344        }
    345     }
    346 
    347     /**
    348      * Returns the currently cached tag keys.
    349      * @return a list of tag keys
    350      * @deprecated to be removed end of 2017. Use {@link #getTagKeys()} instead
    351      */
    352     @Deprecated
    353     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 key
    360      * @return a list of tag values
    361      * @deprecated to be removed end of 2017. Use {@link #getTagValues(String)} instead
    362      */
    363     @Deprecated
    364     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 keys
    371      * @return a list of tag values
    372      * @deprecated to be removed end of 2017. Use {@link #getTagValues(List)} instead
    373      */
    374     @Deprecated
    375     public List<AutoCompletionListItem> getValues(List<String> keys) {
    376         return getTagValues(keys).stream().map(AutoCompletionListItem::new).collect(Collectors.toList());
    377345    }
    378346
Note: See TracChangeset for help on using the changeset viewer.