Ignore:
Timestamp:
2018-05-13T09:15:15+02:00 (18 months ago)
Author:
wiktorn
Message:

PMD fixes

Location:
trunk/src/org/openstreetmap/josm/io
Files:
2 edited

Legend:

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

    r13731 r13741  
    551551
    552552    private static String truncatePath(String directory, String fileName) {
    553         String ret = fileName;
    554553        if (directory.length() + fileName.length() > 255) {
    555554            // Windows doesn't support paths longer than 260, leave 5 chars as safe buffer, 4 will be used by ".tmp"
  • trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java

    r13733 r13741  
    183183                try {
    184184                    capabilitiesUrl = new File(workingAddress).toURI().toURL();
    185                 } catch (MalformedURLException e1) {
     185                } catch (MalformedURLException e1) { // NOPMD
    186186                    // do nothing, raise original exception
    187187                }
Note: See TracChangeset for help on using the changeset viewer.