Changeset 14330 in josm


Ignore:
Timestamp:
2018-10-14T16:51:50+02:00 (7 months ago)
Author:
Don-vip
Message:

fix SonarQube issues

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java

    r14320 r14330  
    175175    }
    176176
    177     void update(PropertiesMembershipChoiceDialog dialog, Node existingNode, List<Node> newNodes, Collection<Command> cmds) {
     177    static void update(PropertiesMembershipChoiceDialog dialog, Node existingNode, List<Node> newNodes, Collection<Command> cmds) {
    178178        updateMemberships(dialog.getMemberships(), existingNode, newNodes, cmds);
    179179        updateProperties(dialog.getTags(), existingNode, newNodes, cmds);
    180180    }
    181181
    182     private void updateProperties(ExistingBothNewChoice tags, Node existingNode, Iterable<Node> newNodes, Collection<Command> cmds) {
     182    private static void updateProperties(ExistingBothNewChoice tags, Node existingNode, Iterable<Node> newNodes, Collection<Command> cmds) {
    183183        if (tags != null && tags.newNode.isSelected()) {
    184184            final Node newSelectedNode = new Node(existingNode);
     
    192192    }
    193193
    194     private void updateMemberships(ExistingBothNewChoice memberships, Node existingNode, List<Node> newNodes, Collection<Command> cmds) {
     194    private static void updateMemberships(ExistingBothNewChoice memberships, Node existingNode, List<Node> newNodes, Collection<Command> cmds) {
    195195        if (memberships != null && memberships.bothNodes.isSelected()) {
    196196            fixRelations(existingNode, cmds, newNodes, false);
  • trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java

    r14300 r14330  
    474474
    475475    @Override
    476     public void layerOrderChanged(MainLayerManager.LayerOrderChangeEvent e) {}
     476    public void layerOrderChanged(MainLayerManager.LayerOrderChangeEvent e) {
     477        // Do nothing
     478    }
    477479}
Note: See TracChangeset for help on using the changeset viewer.