Ignore:
Timestamp:
2009-03-18T16:13:41+01:00 (17 years ago)
Author:
stoecker
Message:

close #2302 - patch by jttt - optimizations and encapsulation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r1389 r1499  
    1717import org.openstreetmap.josm.data.osm.User;
    1818import org.openstreetmap.josm.data.osm.Way;
     19import org.openstreetmap.josm.tools.DateUtils;
    1920
    2021/**
     
    146147
    147148                if (key.equals("timestamp"))
    148                     value = osm.getTimeStr();
     149                    value = DateUtils.fromDate(osm.getTimestamp());
    149150                else
    150151                    value = osm.get(key);
     
    315316    private static class Untagged extends Match {
    316317        @Override public boolean match(OsmPrimitive osm) {
    317             return !osm.tagged;
     318            return !osm.isTagged();
    318319        }
    319320        @Override public String toString() {return "untagged";}
Note: See TracChangeset for help on using the changeset viewer.