Changeset 11553 in josm for trunk/src/org/openstreetmap/josm/tools/Shortcut.java
- Timestamp:
- 2017-02-12T16:32:18+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Shortcut.java
r11454 r11553 384 384 385 385 private static int getGroupModifier(int group) { 386 Integer m = groups.get(group); 387 if (m == null) 388 m = -1; 389 return m; 386 return Optional.ofNullable(groups.get(group)).orElse(-1); 390 387 } 391 388
Note:
See TracChangeset
for help on using the changeset viewer.