Changeset 18487 in josm
- Timestamp:
- 2022-06-13T17:59:52+02:00 (2 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r18485 r18487 1153 1153 if (cycleList.size() == 2 && !waitForMouseUpParameter 1154 1154 // This was a nested if statement (see commented code below) 1155 && (!(osm.equals(old) || osm.isNew() || platformMenuShortcutKeyMask))) {1155 && !(osm.equals(old) || osm.isNew() || platformMenuShortcutKeyMask)) { 1156 1156 cyclePrims = false; 1157 1157 osm = old; 1158 // else defer toggling to mouseRelease time in those cases:1159 /*1160 * osm == old -- the true nearest node is the1161 * selected one osm is a new node -- do not break1162 * unglue ways in ALT mode ctrl is pressed -- ctrl1163 * generally works on mouseReleased1164 */1158 // else defer toggling to mouseRelease time in those cases: 1159 /* 1160 * osm == old -- the true nearest node is the 1161 * selected one osm is a new node -- do not break 1162 * unglue ways in ALT mode ctrl is pressed -- ctrl 1163 * generally works on mouseReleased 1164 */ 1165 1165 } 1166 1166 } -
trunk/test/unit/org/openstreetmap/josm/actions/CopyActionTest.java
r18485 r18487 47 47 @RegisterExtension 48 48 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 49 static public JOSMTestRules test = new JOSMTestRules().preferences().fakeAPI().main().projection();49 public static JOSMTestRules test = new JOSMTestRules().preferences().fakeAPI().main().projection(); 50 50 51 51 /** -
trunk/test/unit/org/openstreetmap/josm/actions/DeleteLayerActionTest.java
r18485 r18487 24 24 @RegisterExtension 25 25 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 26 static public JOSMTestRules test = new JOSMTestRules().main().projection();26 public static JOSMTestRules test = new JOSMTestRules().main().projection(); 27 27 28 28 /** -
trunk/test/unit/org/openstreetmap/josm/actions/PurgeActionTest.java
r18485 r18487 32 32 @RegisterExtension 33 33 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 34 static public JOSMTestRules test = new JOSMTestRules().main().projection();34 public static JOSMTestRules test = new JOSMTestRules().main().projection(); 35 35 36 36 /** -
trunk/test/unit/org/openstreetmap/josm/actions/UnJoinNodeWayActionTest.java
r18485 r18487 42 42 @RegisterExtension 43 43 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 44 static public JOSMTestRules test = new JOSMTestRules().projection().main();44 public static JOSMTestRules test = new JOSMTestRules().projection().main(); 45 45 46 46 /**
Note:
See TracChangeset
for help on using the changeset viewer.