Changeset 9070 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-11-30T08:36:35+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java
r9059 r9070 57 57 this.geoProp = geoProp; 58 58 this.maxLevel = maxLevel; 59 this.root = new GPLevel< T>(0, new BBox(-180, -90, 180, 90), null, this);59 this.root = new GPLevel<>(0, new BBox(-180, -90, 180, 90), null, this); 60 60 this.lastLevelUsed = root; 61 61 } -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r9062 r9070 331 331 public ImageProvider addOverlay(ImageOverlay overlay) { 332 332 if (overlayInfo == null) { 333 overlayInfo = new LinkedList< ImageOverlay>();333 overlayInfo = new LinkedList<>(); 334 334 } 335 335 overlayInfo.add(overlay); -
trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java
r8855 r9070 225 225 */ 226 226 public static Collection<String> getLanguageCodes(Locale l) { 227 Collection<String> list = new LinkedList< String>();227 Collection<String> list = new LinkedList<>(); 228 228 if (l == null) 229 229 l = Locale.getDefault(); -
trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java
r8514 r9070 80 80 throw new RuntimeException(ex); 81 81 } 82 rlCache = new GeoPropertyIndex< Boolean>(new RLTrafficGeoProperty(), 24);82 rlCache = new GeoPropertyIndex<>(new RLTrafficGeoProperty(), 24); 83 83 } 84 84 } -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r8997 r9070 141 141 142 142 public static <T> Collection<T> filter(Collection<? extends T> collection, Predicate<? super T> predicate) { 143 return new FilteredCollection< T>(collection, predicate);143 return new FilteredCollection<>(collection, predicate); 144 144 } 145 145
Note:
See TracChangeset
for help on using the changeset viewer.