Changeset 11650 in josm for trunk/src/org/openstreetmap/josm/Main.java
- Timestamp:
- 2017-03-02T02:16:00+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r11642 r11650 21 21 import java.util.Arrays; 22 22 import java.util.Collection; 23 import java.util.Collections;24 23 import java.util.EnumSet; 25 24 import java.util.HashMap; … … 156 155 157 156 /** 158 * Command-line arguments used to run the application.159 */160 protected static final List<String> COMMAND_LINE_ARGS = new ArrayList<>();161 162 /**163 157 * The worker thread slave. This is for executing all long and intensive 164 158 * calculations. The executed runnables are guaranteed to be executed separately … … 212 206 public static final FileWatcher fileWatcher = new FileWatcher(); 213 207 214 pr otectedstatic final Map<String, Throwable> NETWORK_ERRORS = new HashMap<>();208 private static final Map<String, Throwable> NETWORK_ERRORS = new HashMap<>(); 215 209 216 210 private static final Set<OnlineResource> OFFLINE_RESOURCES = EnumSet.noneOf(OnlineResource.class); … … 1384 1378 1385 1379 /** 1386 * Returns the command-line arguments used to run the application.1387 * @return the command-line arguments used to run the application1388 * @since 83561389 */1390 public static List<String> getCommandLineArgs() {1391 return Collections.unmodifiableList(COMMAND_LINE_ARGS);1392 }1393 1394 /**1395 1380 * Returns the JOSM website URL. 1396 1381 * @return the josm website URL
Note:
See TracChangeset
for help on using the changeset viewer.