Ignore:
Timestamp:
2012-01-26T21:52:34+01:00 (14 years ago)
Author:
jttt
Message:

Use static class were appropriate

File:
1 edited

Legend:

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

    r4076 r4874  
    3434 */
    3535public class ValidateAction extends JosmAction {
    36    
     36
    3737    /** Serializable ID */
    3838    private static final long serialVersionUID = -2304521273582574603L;
     
    4646    public ValidateAction() {
    4747        super(tr("Validation"), "dialogs/validator", tr("Performs the data validation"),
    48         Shortcut.registerShortcut("tools:validate", tr("Tool: {0}", tr("Validation")), KeyEvent.VK_V, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
     48                Shortcut.registerShortcut("tools:validate", tr("Tool: {0}", tr("Validation")), KeyEvent.VK_V, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
    4949    }
    5050
     
    106106     *
    107107     */
    108     class ValidationTask extends PleaseWaitRunnable {
     108    static class ValidationTask extends PleaseWaitRunnable {
    109109        private Collection<Test> tests;
    110110        private Collection<OsmPrimitive> validatedPrimitives;
     
    154154        @Override
    155155        protected void realRun() throws SAXException, IOException,
    156                 OsmTransferException {
     156        OsmTransferException {
    157157            if (tests == null || tests.isEmpty())
    158158                return;
Note: See TracChangeset for help on using the changeset viewer.