Changeset 2651 in josm


Ignore:
Timestamp:
2009-12-17T21:50:40+01:00 (12 years ago)
Author:
Gubaer
Message:

getDirectionKeys() put in after removal in r2645. validator still relies on it.

File:
1 edited

Legend:

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

    r2645 r2651  
    568568
    569569    /**
     570     * Replies a list of direction-dependent keys that make an object
     571     * direction dependent.
     572     *
     573     * @return  a list of direction-dependent keys that make an object
     574     * direction dependent.
     575     */
     576    public static Collection<String> getDirectionKeys() {
     577        return Main.pref.getCollection("tags.direction",
     578                Arrays.asList("oneway","incline","incline_steep","aerialway"));
     579    }
     580
     581    /**
    570582     * Implementation of the visitor scheme. Subclasses have to call the correct
    571583     * visitor function.
     
    11041116        }
    11051117    }
     1118
     1119
    11061120    /**
    11071121     * true if this object has direction dependent tags (e.g. oneway)
Note: See TracChangeset for help on using the changeset viewer.