Ignore:
Timestamp:
2017-09-24T09:25:26+02:00 (2 years ago)
Author:
bastiK
Message:

see #15229 - remove dependency of getopt library on JOSM classes

File:
1 edited

Legend:

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

    r12792 r12892  
    1414import java.util.stream.Stream;
    1515
     16import org.openstreetmap.josm.tools.I18n;
    1617import org.openstreetmap.josm.tools.Logging;
    1718
     
    115116        LongOpt[] los = Stream.of(Option.values()).map(Option::toLongOpt).toArray(LongOpt[]::new);
    116117
     118        Getopt.setI18nHandler(I18n::tr);
    117119        Getopt g = new Getopt("JOSM", args, "hv", los);
    118120
Note: See TracChangeset for help on using the changeset viewer.