Ignore:
Timestamp:
2015-10-13T23:50:14+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - squid:S2325 - "private" methods that don't access instance data should be "static"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java

    r8824 r8870  
    247247
    248248    // some additional checks to respect extended URLs in preferences (legacy workaround)
    249     private boolean isSimilar(String a, String b) {
     249    private static boolean isSimilar(String a, String b) {
    250250        return Objects.equals(a, b) || (a != null && b != null && !a.isEmpty() && !b.isEmpty() && (a.contains(b) || b.contains(a)));
    251251    }
Note: See TracChangeset for help on using the changeset viewer.