Changeset 9482 in josm for trunk/src/org
- Timestamp:
- 2016-01-16T10:43:07+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/conflict/pair
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ConflictResolver.java
r9440 r9482 261 261 } 262 262 263 /** 264 * {@link JTabbedPane#setSelectedIndex(int) Selects} the first tab with conflicts 265 */ 263 266 public void selectFirstTabWithConflicts() { 264 267 for (int i = 0; i < tabbedPane.getTabCount(); i++) { … … 343 346 } 344 347 348 /** 349 * Removes all registered listeners by this conflict resolver 350 */ 345 351 public void unregisterListeners() { 346 352 nodeListMerger.unlinkAsListener(); … … 348 354 } 349 355 356 /** 357 * {@link PropertiesMerger#decideRemaining(MergeDecisionType) Decides/resolves} undecided conflicts to the given decision type 358 * @param decision the decision to take for undecided conflicts 359 * @throws AssertionError if {@link #isResolvedCompletely()} does not hold after applying the decision 360 */ 350 361 public void decideRemaining(MergeDecisionType decision) { 351 362 propertiesMerger.decideRemaining(decision); … … 358 369 updateResolvedCompletely(); 359 370 if (!isResolvedCompletely()) { 360 throw new AssertionError( );371 throw new AssertionError("The conflict could not be resolved completely!"); 361 372 } 362 373 } -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMerger.java
r9440 r9482 921 921 if (!model.isFrozen()) { 922 922 model.copyAll(MergeDecisionType.KEEP_MINE.equals(decision) ? ListRole.MY_ENTRIES : ListRole.THEIR_ENTRIES); 923 model.setFrozen(true); 923 924 } 924 925 }
Note:
See TracChangeset
for help on using the changeset viewer.