Changeset 14653 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/PropertiesMembershipChoiceDialog.java
- Timestamp:
- 2019-01-06T13:17:37+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/PropertiesMembershipChoiceDialog.java
r14652 r14653 31 31 private final transient ExistingBothNewChoice memberships; 32 32 33 /** 34 * Represents the user choice: the existing node, the new nodes, or all of them 35 */ 33 36 public enum ExistingBothNew { 34 OLD, BOTH, NEW 37 OLD, BOTH, NEW; 38 39 /** 40 * Returns the opposite/inverted user choice. 41 * @return the opposite/inverted user choice 42 */ 43 public ExistingBothNew opposite() { 44 return equals(OLD) ? NEW : equals(NEW) ? OLD : this; 45 } 35 46 } 36 47
Note:
See TracChangeset
for help on using the changeset viewer.