- Timestamp:
- 04/29/13 13:35:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/guimodel/MFCGUIElementSpec.java
r1006 r1184 253 253 MFCGUIElementSpec otherSpec = (MFCGUIElementSpec) other; 254 254 255 if ((type != otherSpec.type) && ((type != null) && (!type.equals(otherSpec.type)))) {255 if ((type == null) ? otherSpec.type != null : !type.equals(otherSpec.type)) { 256 256 return false; 257 257 } … … 337 337 return (hwnd == otherSpec.hwnd) && (isModal == otherSpec.isModal) && 338 338 (resourceId == otherSpec.resourceId) && 339 ( (type == otherSpec.type) || ((type != null) && (type.equals(otherSpec.type)))) &&340 ( (name == otherSpec.name) || ((name != null) && (name.equals(otherSpec.name))));339 (type == null ? otherSpec.type == null : type.equals(otherSpec.type)) && 340 (name == null ? otherSpec.name == null : name.equals(otherSpec.name)); 341 341 } 342 342 … … 403 403 } 404 404 405 if ( (name != other.name) && (name != null) && (!name.equals(other.name))) {405 if (name == null ? other.name != null : !name.equals(other.name)) { 406 406 setName(other.name); 407 407 }
Note: See TracChangeset
for help on using the changeset viewer.