Ignore:
Timestamp:
2017-01-12T23:28:57+01:00 (3 years ago)
Author:
Don-vip
Message:

sonar - squid:S1871 - Two branches in the same conditional structure should not have exactly the same implementation

File:
1 edited

Legend:

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

    r11397 r11462  
    270270            else if (mode == Mode.translate_node)
    271271                rv = new StringBuilder(tr("Move the node along one of the segments, then release the mouse button."));
    272             else if (mode == Mode.extrude)
    273                 rv = new StringBuilder(tr("Draw a rectangle of the desired size, then release the mouse button."));
    274             else if (mode == Mode.create_new)
     272            else if (mode == Mode.extrude || mode == Mode.create_new)
    275273                rv = new StringBuilder(tr("Draw a rectangle of the desired size, then release the mouse button."));
    276274            else {
Note: See TracChangeset for help on using the changeset viewer.