Changeset 11879 in josm for trunk/src/org/openstreetmap/josm/gui/conflict
- Timestamp:
- 2017-04-10T03:28:15+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ComparePairType.java
r11747 r11879 10 10 /** 11 11 * Enumeration of the possible comparison pairs 12 * 12 * @since 1650 13 13 */ 14 14 public enum ComparePairType { … … 48 48 49 49 /** 50 * replies true, if <code>role</code> is participating in this comparison 51 * pair 50 * replies true, if <code>role</code> is participating in this comparison pair 52 51 * 53 52 * @param role the list role 54 * @return true, if <code>role</code> is participating in this comparison 55 * pair; false, otherwise 53 * @return true, if <code>role</code> is participating in this comparison pair; false, otherwise 56 54 */ 57 55 public boolean isParticipatingIn(ListRole role) { … … 63 61 64 62 /** 65 * replies the pair of {@link ListRole}s participating in this comparison 66 * pair 63 * replies the pair of {@link ListRole}s participating in this comparison pair 67 64 * 68 65 * @return the pair of list roles 69 66 */ 70 67 public ListRole[] getParticipatingRoles() { 71 return participatingRoles;68 return Utils.copyArray(participatingRoles); 72 69 } 73 70 74 71 /** 75 * replies the opposite role of <code>role</code> participating in this comparison 76 * pair 72 * replies the opposite role of <code>role</code> participating in this comparison pair 77 73 * 78 74 * @param role one of the two roles in this pair
Note:
See TracChangeset
for help on using the changeset viewer.