Ignore:
Timestamp:
2017-09-08T22:02:38+02:00 (7 years ago)
Author:
bastiK
Message:

closes #15273, see #15229, see #15182 - add command line interface module for projections

  • run josm project --help to see the options
  • extracts parser from LatLon and CustomProjection into LatLonParser
File:
1 edited

Legend:

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

    r12633 r12792  
    113113     */
    114114    private void buildCommandLineArgumentMap(String... args) {
    115         LongOpt[] los = Stream.of(Option.values()).map(Option::toLongOpt).toArray(i -> new LongOpt[i]);
     115        LongOpt[] los = Stream.of(Option.values()).map(Option::toLongOpt).toArray(LongOpt[]::new);
    116116
    117117        Getopt g = new Getopt("JOSM", args, "hv", los);
Note: See TracChangeset for help on using the changeset viewer.