Ignore:
Timestamp:
2016-06-02T02:22:40+02:00 (4 years ago)
Author:
Don-vip
Message:

findbugs, code optimization/cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerLocationReader.java

    r10212 r10315  
    66import java.io.IOException;
    77import java.io.InputStream;
    8 import java.util.ArrayList;
     8import java.util.Collections;
    99import java.util.List;
    1010
     
    178178            in = getInputStream(url, progressMonitor.createSubTaskMonitor(1, true));
    179179            if (in == null) {
    180                 return new ArrayList<>();
     180                return Collections.emptyList();
    181181            }
    182182            progressMonitor.subTask(tr("Downloading OSM notes..."));
Note: See TracChangeset for help on using the changeset viewer.