Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

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

    r8470 r8510  
    3838    private JButton btnInBackground;
    3939    /** the text area and the scroll pane for the log */
    40     private final JosmTextArea taLog = new JosmTextArea(5,50);
     40    private final JosmTextArea taLog = new JosmTextArea(5, 50);
    4141    private  JScrollPane spLog;
    4242
     
    4444        setLayout(new GridBagLayout());
    4545        JPanel pane = new JPanel(new GridBagLayout());
    46         pane.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
     46        pane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
    4747        pane.add(currentAction, GBC.eol().fill(GBC.HORIZONTAL));
    4848        pane.add(customText, GBC.eol().fill(GBC.HORIZONTAL));
     
    6969            @Override
    7070            public void componentHidden(ComponentEvent e) {}
     71
    7172            @Override
    7273            public void componentMoved(ComponentEvent e) {}
     74
    7375            @Override
    7476            public void componentShown(ComponentEvent e) {}
     77
    7578            @Override
    7679            public void componentResized(ComponentEvent ev) {
    7780                int w = getWidth();
    78                 if(w > 200) {
    79                     Main.pref.putInteger("progressdialog.size",w);
     81                if (w > 200) {
     82                    Main.pref.putInteger("progressdialog.size", w);
    8083                }
    8184            }
     
    111114    @Override
    112115    public void setCustomText(String text) {
    113         if(text == null || text.trim().isEmpty()) {
     116        if (text == null || text.trim().isEmpty()) {
    114117            customText.setVisible(false);
    115118            adjustLayout();
Note: See TracChangeset for help on using the changeset viewer.