Changeset 7082 in josm for trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
- Timestamp:
- 2014-05-09T05:32:37+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r7005 r7082 9 9 import java.awt.geom.AffineTransform; 10 10 import java.awt.geom.Point2D; 11 import java.nio.charset.StandardCharsets; 11 12 import java.util.ArrayList; 12 13 import java.util.Collection; … … 1328 1329 getWidth() + "_" + getHeight() + "_" + getProjection().toString(); 1329 1330 CRC32 id = new CRC32(); 1330 id.update(x.getBytes( Utils.UTF_8));1331 id.update(x.getBytes(StandardCharsets.UTF_8)); 1331 1332 return (int)id.getValue(); 1332 1333 } … … 1370 1371 1371 1372 private LinkedList<CursorInfo> cursors = new LinkedList<>(); 1372 1373 1373 1374 /** 1374 1375 * Set new cursor. … … 1384 1385 setCursor(cursor); 1385 1386 } 1386 1387 1387 1388 public void setNewCursor(int cursor, Object reference) { 1388 1389 setNewCursor(Cursor.getPredefinedCursor(cursor), reference); 1389 1390 } 1390 1391 1391 1392 /** 1392 1393 * Remove the new cursor and reset to previous
Note:
See TracChangeset
for help on using the changeset viewer.