Changeset 6164 in josm for trunk


Ignore:
Timestamp:
2013-08-21T01:01:05+02:00 (11 years ago)
Author:
Don-vip
Message:

fix some warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r6143 r6164  
    963963        List<List<String>> prop = arrayProperties.get(key);
    964964        if (prop != null) {
    965             @SuppressWarnings("unchecked")
     965            @SuppressWarnings({ "unchecked", "rawtypes" })
    966966            Collection<Collection<String>> prop_cast = (Collection) prop;
    967967            return prop_cast;
     
    974974        List<List<String>> prop = arrayProperties.get(key);
    975975        if (prop != null) {
    976             @SuppressWarnings("unchecked")
     976            @SuppressWarnings({ "unchecked", "rawtypes" })
    977977            Collection<Collection<String>> prop_cast = (Collection) prop;
    978978            return prop_cast;
     
    982982
    983983    public boolean putArray(String key, Collection<Collection<String>> value) {
    984         boolean changed = false;
     984        //boolean changed = false;
    985985
    986986        List<List<String>> oldValue = null;
Note: See TracChangeset for help on using the changeset viewer.