Changeset 4724 in josm for trunk/src/org/openstreetmap/josm/data/osm/history
- Timestamp:
- 2011-12-27T16:31:36+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/history/History.java
r4602 r4724 71 71 } 72 72 } 73 );73 ); 74 74 return new History(id, type, copy); 75 75 } … … 84 84 } 85 85 } 86 );86 ); 87 87 return new History(id, type,copy); 88 88 } … … 96 96 } 97 97 } 98 );98 ); 99 99 } 100 100 … … 107 107 } 108 108 } 109 );109 ); 110 110 } 111 111 … … 122 122 } 123 123 } 124 );124 ); 125 125 } 126 126 … … 133 133 } 134 134 } 135 );135 ); 136 136 } 137 137 … … 140 140 } 141 141 142 public History forUser(final String user) {143 return filter(144 this,145 new FilterPredicate() {146 public boolean matches(HistoryOsmPrimitive primitive) {147 return primitive.getUser().equals(user);148 }149 }150 );151 }152 153 142 public History forUserId(final long uid) { 154 143 return filter( … … 159 148 } 160 149 } 161 );150 ); 162 151 } 163 152
Note:
See TracChangeset
for help on using the changeset viewer.