Ignore:
Timestamp:
2009-08-30T18:02:20+02:00 (16 years ago)
Author:
guggis
Message:

Cleanup of deprecated data API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CheckSourceUploadHook.java

    r15961 r17365  
    4141            for (OsmPrimitive osm : add) {
    4242                if ((osm instanceof Node || osm instanceof Way)
    43                         && (osm.keys == null || !tagSourceExist(osm))) {
     43                        && (osm.getKeys() == null || !tagSourceExist(osm))) {
    4444                    sel.add(osm);
    4545                }
     
    5858     */
    5959    private boolean tagSourceExist(OsmPrimitive osm) {
    60         for (String key : osm.keys.keySet()) {
     60        for (String key : osm.keySet()) {
    6161            if (key.equals("source") ) {
    6262                return true;
Note: See TracChangeset for help on using the changeset viewer.