Changeset 10433 in josm


Ignore:
Timestamp:
2016-06-20T00:52:59+02:00 (8 years ago)
Author:
Don-vip
Message:

checkstyle

Location:
trunk/src/org/openstreetmap/josm
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java

    r10428 r10433  
    1616import org.openstreetmap.josm.gui.NoteInputDialog;
    1717import org.openstreetmap.josm.gui.Notification;
    18 import org.openstreetmap.josm.gui.dialogs.NotesDialog;
    1918import org.openstreetmap.josm.gui.util.KeyPressReleaseListener;
    2019import org.openstreetmap.josm.tools.CheckParameterUtil;
  • trunk/src/org/openstreetmap/josm/gui/MapMover.java

    r10432 r10433  
    6565        }
    6666
    67         /**
    68          * Constructs a new {@code ZoomerAction}.
    69          * @param action action
    70          * @param name name
    71          * @since 10432
    72          */
    73         public ZoomerAction(String action, String name) {
     67        ZoomerAction(String action, String name) {
    7468            this.action = action;
    7569            putValue(NAME, name);
  • trunk/src/org/openstreetmap/josm/gui/layer/MainLayerManager.java

    r10432 r10433  
    275275        }
    276276    }
    277 
    278277
    279278    /**
  • trunk/src/org/openstreetmap/josm/gui/layer/NoteLayer.java

    r10428 r10433  
    3333import org.openstreetmap.josm.gui.dialogs.LayerListDialog;
    3434import org.openstreetmap.josm.gui.dialogs.LayerListPopup;
    35 import org.openstreetmap.josm.gui.dialogs.NotesDialog;
    3635import org.openstreetmap.josm.gui.io.AbstractIOTask;
    3736import org.openstreetmap.josm.gui.io.UploadNoteLayerTask;
     
    109108    @Override
    110109    public void paint(Graphics2D g, MapView mv, Bounds box) {
    111         final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted( ImageProvider.ImageSizes.SMALLICON.getVirtualHeight() );
    112         final int iconWidth  = GuiSizesHelper.getSizeDpiAdjusted( ImageProvider.ImageSizes.SMALLICON.getVirtualWidth() );
     110        final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted(ImageProvider.ImageSizes.SMALLICON.getVirtualHeight());
     111        final int iconWidth = GuiSizesHelper.getSizeDpiAdjusted(ImageProvider.ImageSizes.SMALLICON.getVirtualWidth());
    113112
    114113        for (Note note : noteData.getNotes()) {
     
    248247        double snapDistance = 10;
    249248        double minDistance = Double.MAX_VALUE;
    250         final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted( ImageProvider.ImageSizes.SMALLICON.getVirtualHeight() );
     249        final int iconHeight = GuiSizesHelper.getSizeDpiAdjusted(ImageProvider.ImageSizes.SMALLICON.getVirtualHeight());
    251250        Note closestNote = null;
    252251        for (Note note : noteData.getNotes()) {
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r10428 r10433  
    824824
    825825            String prefix = "";
    826             if(isDisabled)
    827               prefix = "dis:"+prefix;
     826            if (isDisabled)
     827                prefix = "dis:"+prefix;
    828828            if (name.startsWith("data:")) {
    829829                String url = name;
Note: See TracChangeset for help on using the changeset viewer.