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/actions/UnGlueAction.java

    r8846 r8870  
    303303     * </ul>
    304304     */
    305     private Way modifyWay(Node originalNode, Way w, List<Command> cmds, List<Node> newNodes) {
     305    private static Way modifyWay(Node originalNode, Way w, List<Command> cmds, List<Node> newNodes) {
    306306        // clone the node for the way
    307307        Node newNode = new Node(originalNode, true /* clear OSM ID */);
     
    396396     * @param newNodes New created nodes by this set of command
    397397     */
    398     private void execCommands(List<Command> cmds, List<Node> newNodes) {
     398    private static void execCommands(List<Command> cmds, List<Node> newNodes) {
    399399        Main.main.undoRedo.add(new SequenceCommand(/* for correct i18n of plural forms - see #9110 */
    400400                trn("Dupe into {0} node", "Dupe into {0} nodes", newNodes.size() + 1, newNodes.size() + 1), cmds));
Note: See TracChangeset for help on using the changeset viewer.