- Timestamp:
- 2011-06-05T10:13:09+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergeModel.java
r4115 r4116 54 54 private MergeDecisionType deletedMergeDecision; 55 55 private final PropertyChangeSupport support; 56 private boolean resolvedCompletely;56 private Boolean resolvedCompletely; 57 57 58 58 public void addPropertyChangeListener(PropertyChangeListener listener) { … … 65 65 66 66 public void fireCompletelyResolved() { 67 boolean oldValue = resolvedCompletely;67 Boolean oldValue = resolvedCompletely; 68 68 resolvedCompletely = isResolvedCompletely(); 69 69 support.firePropertyChange(RESOLVED_COMPLETELY_PROP, oldValue, resolvedCompletely); … … 74 74 deletedMergeDecision = UNDECIDED; 75 75 support = new PropertyChangeSupport(this); 76 resolvedCompletely = false;76 resolvedCompletely = null; 77 77 } 78 78 … … 146 146 setChanged(); 147 147 notifyObservers(); 148 /* call fire directly, to allow null as old value, otherwise the call can be 149 optimized away when resolvedCompletely is false. */ 150 support.firePropertyChange(RESOLVED_COMPLETELY_PROP, null, resolvedCompletely); 151 //fireCompletelyResolved(); 148 fireCompletelyResolved(); 152 149 } 153 150
Note:
See TracChangeset
for help on using the changeset viewer.