Ignore:
Timestamp:
2014-04-26T17:39:23+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - use diamond operator where applicable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java

    r6990 r7005  
    7575        public boolean hasValue;
    7676
    77         public static final Map<String, Param> paramsByKey = new HashMap<String, Param>();
     77        public static final Map<String, Param> paramsByKey = new HashMap<>();
    7878        static {
    7979            for (Param p : Param.values()) {
     
    161161
    162162    private Map<String, String> parseParameterList(String pref) throws ProjectionConfigurationException {
    163         Map<String, String> parameters = new HashMap<String, String>();
     163        Map<String, String> parameters = new HashMap<>();
    164164        String[] parts = Utils.WHITE_SPACES_PATTERN.split(pref.trim());
    165165        if (pref.trim().isEmpty()) {
     
    292292        if (numStr.length != 3 && numStr.length != 7)
    293293            throw new ProjectionConfigurationException(tr("Unexpected number of arguments for parameter ''towgs84'' (must be 3 or 7)"));
    294         List<Double> towgs84Param = new ArrayList<Double>();
     294        List<Double> towgs84Param = new ArrayList<>();
    295295        for (String str : numStr) {
    296296            try {
Note: See TracChangeset for help on using the changeset viewer.