Changeset 8444 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergeModel.java
- Timestamp:
- 2015-06-02T16:41:37+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergeModel.java
r8308 r8444 70 70 } 71 71 72 /** 73 * Constructs a new {@code PropertiesMergeModel}. 74 */ 72 75 public PropertiesMergeModel() { 73 76 coordMergeDecision = UNDECIDED; … … 78 81 79 82 /** 80 * replies true if there is a coordinate conflict and if this conflict is 81 * resolved 82 * 83 * @return true if there is a coordinate conflict and if this conflict is 84 * resolved; false, otherwise 83 * replies true if there is a coordinate conflict and if this conflict is resolved 84 * 85 * @return true if there is a coordinate conflict and if this conflict is resolved; false, otherwise 85 86 */ 86 87 public boolean isDecidedCoord() { 87 return ! coordMergeDecision.equals(UNDECIDED); 88 } 89 90 /** 91 * replies true if there is a conflict in the deleted state and if this conflict is 92 * resolved 88 return !coordMergeDecision.equals(UNDECIDED); 89 } 90 91 /** 92 * replies true if there is a conflict in the deleted state and if this conflict is resolved 93 93 * 94 94 * @return true if there is a conflict in the deleted state and if this conflict is … … 96 96 */ 97 97 public boolean isDecidedDeletedState() { 98 return ! deletedMergeDecision.equals(UNDECIDED);98 return !deletedMergeDecision.equals(UNDECIDED); 99 99 } 100 100 … … 311 311 boolean ret = true; 312 312 if (hasCoordConflict()) { 313 ret = ret && ! coordMergeDecision.equals(UNDECIDED);313 ret = ret && !coordMergeDecision.equals(UNDECIDED); 314 314 } 315 315 if (hasDeletedStateConflict()) { 316 ret = ret && ! deletedMergeDecision.equals(UNDECIDED);316 ret = ret && !deletedMergeDecision.equals(UNDECIDED); 317 317 } 318 318 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.
