Ignore:
Timestamp:
2014-04-29T02:38:59+02:00 (6 years ago)
Author:
Don-vip
Message:

sonar - Variables should not be declared and then immediately returned or thrown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/DeleteCommand.java

    r7005 r7024  
    477477                relations.size(), relations.size(), DefaultNameFormatter.getInstance().formatAsHtmlUnorderedList(relations))
    478478                + "</html>"));
    479         boolean answer = ConditionalOptionPaneUtil.showConfirmationDialog(
     479        return ConditionalOptionPaneUtil.showConfirmationDialog(
    480480                "delete_relations",
    481481                Main.parent,
     
    485485                JOptionPane.QUESTION_MESSAGE,
    486486                JOptionPane.YES_OPTION);
    487         return answer;
    488487    }
    489488}
Note: See TracChangeset for help on using the changeset viewer.