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/PopupMenuHandler.java

    r7937 r8510  
    2626    // Managed menu
    2727    private final JPopupMenu menu;
    28    
     28
    2929    /**
    3030     * Constructs a new {@code RelationActionMenuHandler} for the specified popup menu.
    31      * 
     31     *
    3232     * @param menu The menu to be managed
    3333     */
     
    4646    /**
    4747     * Appends a new menu item to the end of the menu which dispatches the specified <code>Action</code> object.
    48      * 
     48     *
    4949     * @param a the <code>Action</code> to add to the menu
    5050     * @return the new menu item
     
    6363    /**
    6464     * Removes the menu item which dispatches the specified <code>Action</code> object.
    65      * 
     65     *
    6666     * @param a the <code>Action</code> to remove from the menu
    6767     * @see JPopupMenu#remove(int)
     
    7373            }
    7474            MenuElement[] elements = menu.getSubElements();
    75             for (int i=0; i<elements.length; i++) {
     75            for (int i = 0; i < elements.length; i++) {
    7676                if (elements[i] instanceof JMenuItem) {
    7777                    if (((JMenuItem) elements[i]).getAction() == a) {
     
    103103        menu.removePopupMenuListener(l);
    104104    }
    105    
     105
    106106    /**
    107107     * Returns all enabled primitive actions.
     
    112112        return Collections.unmodifiableCollection(primitiveActions);
    113113    }
    114    
     114
    115115    /**
    116116     * Specifies the working set of primitives for all primitive actions.
Note: See TracChangeset for help on using the changeset viewer.