- Timestamp:
- 2018-06-04T20:10:00+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r13885 r13889 429 429 this.tile = tile; 430 430 } 431 431 432 @Override 432 433 public abstract void actionPerformed(ActionEvent arg0); 433 434 } 435 private final staticclass ShowTileInfoAction extends AbstractTileAction {434 } 435 436 private static final class ShowTileInfoAction extends AbstractTileAction { 436 437 437 438 private ShowTileInfoAction(AbstractTileSourceLayer<?> layer, Tile tile) { … … 463 464 if (tile.getTileSource() instanceof TemplatedTileSource) { 464 465 Map<String, String> headers = ((TemplatedTileSource) tile.getTileSource()).getHeaders(); 465 for (String key: new TreeSet<>(headers.keySet())) {466 for (String key: new TreeSet<>(headers.keySet())) { 466 467 // iterate over sorted keys 467 468 content.add(Arrays.asList(tr("Custom header: {0}", key), headers.get(key))); … … 508 509 } 509 510 510 private final staticclass LoadTileAction extends AbstractTileAction {511 private static final class LoadTileAction extends AbstractTileAction { 511 512 512 513 private LoadTileAction(AbstractTileSourceLayer<?> layer, Tile tile) { … … 535 536 } 536 537 537 private final staticclass GetOsmTileStatusAction extends AbstractTileAction {538 private static final class GetOsmTileStatusAction extends AbstractTileAction { 538 539 private GetOsmTileStatusAction(AbstractTileSourceLayer<?> layer, Tile tile) { 539 540 super(tr("Get tile status"), layer, tile); … … 547 548 } 548 549 549 private final staticclass MarkOsmTileDirtyAction extends AbstractTileAction {550 private static final class MarkOsmTileDirtyAction extends AbstractTileAction { 550 551 private MarkOsmTileDirtyAction(AbstractTileSourceLayer<?> layer, Tile tile) { 551 552 super(tr("Force tile rendering"), layer, tile);
Note:
See TracChangeset
for help on using the changeset viewer.