\r
@Override\r
public boolean equals(Object obj) {\r
- if (this == obj)\r
+ if (this == obj) {\r
return true;\r
- if (!super.equals(obj))\r
+ }\r
+ if (!super.equals(obj)) {\r
return false;\r
- if (!(obj instanceof InstructionSerializerKey))\r
+ }\r
+ if (!(obj instanceof InstructionSerializerKey)) {\r
return false;\r
+ }\r
InstructionSerializerKey<?> other = (InstructionSerializerKey<?>) obj;\r
if (experimenterId == null) {\r
- if (other.experimenterId != null)\r
+ if (other.experimenterId != null) {\r
return false;\r
- } else if (!experimenterId.equals(other.experimenterId))\r
+ }\r
+ } else if (!experimenterId.equals(other.experimenterId)) {\r
return false;\r
+ }\r
if (instructionType == null) {\r
- if (other.instructionType != null)\r
+ if (other.instructionType != null) {\r
return false;\r
- } else if (!instructionType.equals(other.instructionType))\r
+ }\r
+ } else if (!instructionType.equals(other.instructionType)) {\r
return false;\r
+ }\r
return true;\r
}\r
\r