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/io/UploadDialog.java

    r8332 r8510  
    108108    protected JPanel buildContentPanel() {
    109109        JPanel pnl = new JPanel(new GridBagLayout());
    110         pnl.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
     110        pnl.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    111111
    112112        // the panel with the list of uploaded objects
     
    158158        JPanel pnl = new JPanel();
    159159        pnl.setLayout(new FlowLayout(FlowLayout.CENTER));
    160         pnl.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
     160        pnl.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    161161
    162162        // -- upload button
     
    171171        getRootPane().registerKeyboardAction(
    172172                cancelAction,
    173                 KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE,0),
     173                KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0),
    174174                JComponent.WHEN_IN_FOCUSED_WINDOW
    175175        );
    176176        pnl.add(new SideButton(new ContextSensitiveHelpAction(ht("/Dialog/Upload"))));
    177         HelpUtil.setHelpContext(getRootPane(),ht("/Dialog/Upload"));
     177        HelpUtil.setHelpContext(getRootPane(), ht("/Dialog/Upload"));
    178178        return pnl;
    179179    }
     
    209209        // users can click on either of two links in the upload parameter
    210210        // summary handler. This installs the handler for these two events.
    211         // We simply select the appropriate tab in the tabbed pane with the
    212         // configuration dialogs.
     211        // We simply select the appropriate tab in the tabbed pane with the configuration dialogs.
    213212        //
    214213        pnlBasicUploadSettings.getUploadParameterSummaryPanel().setConfigurationParameterRequestListener(
     
    218217                        tpConfigPanels.setSelectedIndex(3);
    219218                    }
     219
    220220                    @Override
    221221                    public void handleChangesetConfigurationRequest() {
     
    352352                    WindowGeometry.centerInWindow(
    353353                            Main.parent,
    354                             new Dimension(400,600)
     354                            new Dimension(400, 600)
    355355                    )
    356356            ).applySafe(this);
     
    429429                    new ImageProvider("cancel").setMaxSize(ImageSizes.LARGEICON).get(),
    430430                    new ImageProvider("upload").setMaxSize(ImageSizes.LARGEICON).addOverlay(
    431                             new ImageOverlay(new ImageProvider("warning-small"), 0.5,0.5,1.0,1.0)).get()});
     431                            new ImageOverlay(new ImageProvider("warning-small"), 0.5, 0.5, 1.0, 1.0)).get()});
    432432            dlg.setToolTipTexts(new String[] {
    433433                    tr("Return to the previous dialog to enter a more descriptive comment"),
     
    542542    public void propertyChange(PropertyChangeEvent evt) {
    543543        if (evt.getPropertyName().equals(ChangesetManagementPanel.SELECTED_CHANGESET_PROP)) {
    544             Changeset cs = (Changeset)evt.getNewValue();
     544            Changeset cs = (Changeset) evt.getNewValue();
    545545            if (cs == null) {
    546546                tpConfigPanels.setTitleAt(1, tr("Tags of new changeset"));
Note: See TracChangeset for help on using the changeset viewer.