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

FindBugs - MS_MUTABLE_COLLECTION

File:
1 edited

Legend:

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

    r11642 r11650  
    2121import java.util.Arrays;
    2222import java.util.Collection;
    23 import java.util.Collections;
    2423import java.util.EnumSet;
    2524import java.util.HashMap;
     
    156155
    157156    /**
    158      * Command-line arguments used to run the application.
    159      */
    160     protected static final List<String> COMMAND_LINE_ARGS = new ArrayList<>();
    161 
    162     /**
    163157     * The worker thread slave. This is for executing all long and intensive
    164158     * calculations. The executed runnables are guaranteed to be executed separately
     
    212206    public static final FileWatcher fileWatcher = new FileWatcher();
    213207
    214     protected static final Map<String, Throwable> NETWORK_ERRORS = new HashMap<>();
     208    private static final Map<String, Throwable> NETWORK_ERRORS = new HashMap<>();
    215209
    216210    private static final Set<OnlineResource> OFFLINE_RESOURCES = EnumSet.noneOf(OnlineResource.class);
     
    13841378
    13851379    /**
    1386      * Returns the command-line arguments used to run the application.
    1387      * @return the command-line arguments used to run the application
    1388      * @since 8356
    1389      */
    1390     public static List<String> getCommandLineArgs() {
    1391         return Collections.unmodifiableList(COMMAND_LINE_ARGS);
    1392     }
    1393 
    1394     /**
    13951380     * Returns the JOSM website URL.
    13961381     * @return the josm website URL
Note: See TracChangeset for help on using the changeset viewer.