- boolean idMatches = id == o.id
- || (id != null && id.equalsIgnoreCase(o.id));
- boolean fileMatches = file == o.file
- || (file != null && file.equals(o.file));
- boolean typeMatches = type == o.type
- || (type != null && type.equals(o.type));
- if (idMatches && fileMatches && typeMatches)
- {
- return properties == o.properties
- || (properties != null && properties.equals(o.properties));
- }
- return false;
+ return (id == o.id || (id != null && id.equalsIgnoreCase(o.id)))
+ && (file == o.file || (file != null && file.equals(o.file)))
+ && (type == o.type || (type != null && type.equals(o.type)))
+ && (properties == o.properties || (properties != null
+ && properties.equals(o.properties)));