Changeset 19296 in josm for trunk


Ignore:
Timestamp:
2025-01-28T13:52:14+01:00 (8 weeks ago)
Author:
stoecker
Message:

remove most of the new PMD messages (forgot to save one file befor submit :-)

File:
1 edited

Legend:

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

    r19227 r19296  
    199199        // TODO: dynamic messages based on preferences. (Could be problematic translation wise)
    200200        switch (mode) {
    201         case NORMAL:
     201        if (mode == NORMAL) {
    202202            // CHECKSTYLE.OFF: LineLength
    203203            return tr("Select ways as in Select mode. Drag selected ways or a single way to create a parallel copy (Alt toggles tag preservation)");
    204204            // CHECKSTYLE.ON: LineLength
    205         case DRAGGING:
     205        } else { // mode == DRAGGING
    206206            return tr("Hold Ctrl to toggle snapping");
    207207        }
    208         return ""; // impossible ..
    209208    }
    210209
Note: See TracChangeset for help on using the changeset viewer.