Changeset 10596 in josm for trunk/src/org
- Timestamp:
- 2016-07-23T00:56:53+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r10586 r10596 932 932 drawWorldBorders(tempG); 933 933 } catch (RuntimeException e) { 934 throw BugReport.intercept(e).put("bounds", () -> getProjection().getWorldBoundsLatLon());934 throw BugReport.intercept(e).put("bounds", getProjection()::getWorldBoundsLatLon); 935 935 } 936 936 -
trunk/src/org/openstreetmap/josm/gui/MapViewState.java
r10586 r10596 101 101 topLeftOnScreen = position.getLocationOnScreen(); 102 102 } catch (RuntimeException e) { 103 throw BugReport.intercept(e).put("position", position).put("parent", () -> position.getParent());103 throw BugReport.intercept(e).put("position", position).put("parent", position::getParent); 104 104 } 105 105 } -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r10588 r10596 1950 1950 if (manager.isAvailable(getEstimatedCacheSize())) { 1951 1951 try { 1952 memory = manager.allocateMemory("tile source layer", getEstimatedCacheSize(), () -> new Object());1952 memory = manager.allocateMemory("tile source layer", getEstimatedCacheSize(), Object::new); 1953 1953 } catch (NotEnoughMemoryException e) { 1954 1954 Main.warn("Could not allocate tile source memory", e);
Note:
See TracChangeset
for help on using the changeset viewer.