Changeset 8291 in josm for trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java
- Timestamp:
- 2015-04-29T01:44:01+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java
r7509 r8291 102 102 * 103 103 * @param conflict the conflict 104 * @exception IllegalStateException thrown, if this collection already includes a 105 * conflict for conflict.getMy() 106 */ 107 protected void addConflict(Conflict<?> conflict) throws IllegalStateException { 104 * @throws IllegalStateException if this collection already includes a conflict for conflict.getMy() 105 */ 106 protected void addConflict(Conflict<?> conflict) { 108 107 if (hasConflictForMy(conflict.getMy())) 109 108 throw new IllegalStateException(tr("Already registered a conflict for primitive ''{0}''.", conflict.getMy().toString())); … … 117 116 * 118 117 * @param conflict the conflict to add. Must not be null. 119 * @throws IllegalArgumentException thrown, if conflict is null 120 * @throws IllegalStateException thrown if this collection already includes a conflict for conflict.getMy() 121 * 122 */ 123 public void add(Conflict<?> conflict) throws IllegalStateException { 118 * @throws IllegalArgumentException if conflict is null 119 * @throws IllegalStateException if this collection already includes a conflict for conflict.getMy() 120 */ 121 public void add(Conflict<?> conflict) { 124 122 CheckParameterUtil.ensureParameterNotNull(conflict, "conflict"); 125 123 addConflict(conflict);
Note:
See TracChangeset
for help on using the changeset viewer.