Skip to content

Commit 2ad1961

Browse files
author
taylor.smock
committed
Fix compile errors
git-svn-id: https://josm.openstreetmap.de/svn/trunk@19297 0c6e7542-c601-0410-84e7-c038aed88b3b
1 parent 8eef0de commit 2ad1961

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ public void exitMode() {
197197
public String getModeHelpText() {
198198
// TODO: add more detailed feedback based on modifier state.
199199
// TODO: dynamic messages based on preferences. (Could be problematic translation wise)
200-
switch (mode) {
201-
if (mode == NORMAL) {
200+
if (mode == Mode.NORMAL) {
202201
// CHECKSTYLE.OFF: LineLength
203202
return tr("Select ways as in Select mode. Drag selected ways or a single way to create a parallel copy (Alt toggles tag preservation)");
204203
// CHECKSTYLE.ON: LineLength

0 commit comments

Comments
 (0)