Ignore:
Timestamp:
2017-03-02T02:16:00+01:00 (3 years ago)
Author:
Don-vip
Message:

FindBugs - MS_MUTABLE_COLLECTION

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

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

    r11093 r11650  
    1717import org.openstreetmap.josm.Main;
    1818import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec;
     19import org.openstreetmap.josm.gui.MainApplication;
    1920import org.openstreetmap.josm.gui.io.SaveLayersDialog;
    2021import org.openstreetmap.josm.tools.ImageProvider;
     
    165166        }
    166167        // finally add program arguments
    167         cmd.addAll(Main.getCommandLineArgs());
     168        cmd.addAll(MainApplication.getCommandLineArgs());
    168169        return cmd;
    169170    }
  • trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java

    r11620 r11650  
    2929import org.openstreetmap.josm.data.preferences.Setting;
    3030import org.openstreetmap.josm.gui.ExtendedDialog;
     31import org.openstreetmap.josm.gui.MainApplication;
    3132import org.openstreetmap.josm.gui.preferences.SourceEditor;
    3233import org.openstreetmap.josm.gui.preferences.map.MapPaintPreference;
     
    166167            Main.trace(e);
    167168        }
    168         List<String> commandLineArgs = Main.getCommandLineArgs();
     169        List<String> commandLineArgs = MainApplication.getCommandLineArgs();
    169170        if (!commandLineArgs.isEmpty()) {
    170171            text.append("Program arguments: ").append(Arrays.toString(paramCleanup(commandLineArgs).toArray())).append('\n');
Note: See TracChangeset for help on using the changeset viewer.