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/tools/TextTagParser.java

    r6830 r7005  
    5858        Map<String, String>  getFreeParsedTags() {
    5959            String k, v;
    60             Map<String, String> tags = new HashMap<String,String>();
     60            Map<String, String> tags = new HashMap<>();
    6161
    6262            while (true) {
     
    164164         String[] lines = text.split(splitRegex);
    165165         Pattern p = Pattern.compile(tagRegex);
    166          Map<String, String> tags = new HashMap<String,String>();
     166         Map<String, String> tags = new HashMap<>();
    167167         String k=null, v=null;
    168168         for (String  line: lines) {
Note: See TracChangeset for help on using the changeset viewer.