Ignore:
Timestamp:
2016-03-13T21:36:47+01:00 (4 years ago)
Author:
Don-vip
Message:

remove unused code

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
3 edited

Legend:

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

    r9599 r9983  
    9595    private static volatile PluralMode pluralMode = PluralMode.MODE_NOTONE; /* english default */
    9696    private static volatile String loadedCode = "en";
    97     /** store the original system locale for further use */
    98     public static final Locale SystemLocale = Locale.getDefault();
    9997
    10098    /* Localization keys for file chooser (and color chooser). */
  • trunk/src/org/openstreetmap/josm/tools/Pair.java

    r9542 r9983  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.tools;
    3 import java.util.ArrayList;
    4 import java.util.List;
    53import java.util.Objects;
    64
     
    4846
    4947    /**
    50      * Converts a single-typed pair to a list.
    51      * @param <T> type of both elements
    52      * @param p pair
    53      * @return list containing a and b
    54      */
    55     public static <T> List<T> toList(Pair<T, T> p) {
    56         List<T> l = new ArrayList<>(2);
    57         l.add(p.a);
    58         l.add(p.b);
    59         return l;
    60     }
    61 
    62     /**
    6348     * Sorts a single-typed pair so {@code a <= b}.
    6449     * @param <T> type of both elements
  • trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java

    r9799 r9983  
    239239    public XmlObjectParser() {
    240240        parser = new Parser();
    241     }
    242 
    243     public XmlObjectParser(DefaultHandler handler) {
    244         parser = handler;
    245241    }
    246242
Note: See TracChangeset for help on using the changeset viewer.