Changeset 13889 in josm


Ignore:
Timestamp:
2018-06-04T20:10:00+02:00 (5 months ago)
Author:
wiktorn
Message:

Checkstyle fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r13885 r13889  
    429429            this.tile = tile;
    430430        }
     431
    431432        @Override
    432433        public abstract void actionPerformed(ActionEvent arg0);
    433 
    434     }
    435     private final static class ShowTileInfoAction extends AbstractTileAction {
     434    }
     435
     436    private static final class ShowTileInfoAction extends AbstractTileAction {
    436437
    437438        private ShowTileInfoAction(AbstractTileSourceLayer<?> layer, Tile tile) {
     
    463464                if (tile.getTileSource() instanceof TemplatedTileSource) {
    464465                    Map<String, String> headers = ((TemplatedTileSource) tile.getTileSource()).getHeaders();
    465                     for(String key: new TreeSet<>(headers.keySet())) {
     466                    for (String key: new TreeSet<>(headers.keySet())) {
    466467                        // iterate over sorted keys
    467468                        content.add(Arrays.asList(tr("Custom header: {0}", key), headers.get(key)));
     
    508509    }
    509510
    510     private final static class LoadTileAction extends AbstractTileAction {
     511    private static final class LoadTileAction extends AbstractTileAction {
    511512
    512513        private LoadTileAction(AbstractTileSourceLayer<?> layer, Tile tile) {
     
    535536    }
    536537
    537     private final static class GetOsmTileStatusAction extends AbstractTileAction {
     538    private static final class GetOsmTileStatusAction extends AbstractTileAction {
    538539        private GetOsmTileStatusAction(AbstractTileSourceLayer<?> layer, Tile tile) {
    539540            super(tr("Get tile status"), layer, tile);
     
    547548    }
    548549
    549     private final static class MarkOsmTileDirtyAction extends AbstractTileAction {
     550    private static final class MarkOsmTileDirtyAction extends AbstractTileAction {
    550551        private MarkOsmTileDirtyAction(AbstractTileSourceLayer<?> layer, Tile tile) {
    551552            super(tr("Force tile rendering"), layer, tile);
Note: See TracChangeset for help on using the changeset viewer.