Ignore:
Timestamp:
2017-05-28T03:43:59+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - fix various recent violations

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

Legend:

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

    r12134 r12267  
    9898    }
    9999
    100     private void addAttributes(Element element, Map<String, String> props, ExportSupport support) {
     100    private static void addAttributes(Element element, Map<String, String> props, ExportSupport support) {
    101101        for (Map.Entry<String, String> entry : props.entrySet()) {
    102102            Element attrElem = support.createElement(entry.getKey());
  • trunk/src/org/openstreetmap/josm/io/session/ImagerySessionImporter.java

    r12134 r12267  
    5959    }
    6060
    61     private Map<String, String> readProperties(Element elem) {
     61    private static Map<String, String> readProperties(Element elem) {
    6262        Map<String, String> attributes = new HashMap<>();
    6363        NodeList nodes = elem.getChildNodes();
Note: See TracChangeset for help on using the changeset viewer.