Ignore:
Timestamp:
2013-09-22T18:36:07+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - various bugfixes / violation fixes

File:
1 edited

Legend:

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

    r6221 r6246  
    395395        if ((!args.containsKey(Option.NO_MAXIMIZE) && maximized) || args.containsKey(Option.MAXIMIZE)) {
    396396            if (Toolkit.getDefaultToolkit().isFrameStateSupported(JFrame.MAXIMIZED_BOTH)) {
    397                 // Main.debug("Main window maximized");
    398397                Main.windowState = JFrame.MAXIMIZED_BOTH;
    399398                mainFrame.setExtendedState(Main.windowState);
     
    401400                Main.debug("Main window: maximizing not supported");
    402401            }
    403         } else {
    404             // Main.debug("Main window not maximized");
    405         }
    406         if(main.menu.fullscreenToggleAction != null) {
     402        }
     403        if (main.menu.fullscreenToggleAction != null) {
    407404            main.menu.fullscreenToggleAction.initial();
    408405        }
Note: See TracChangeset for help on using the changeset viewer.