Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.12
-
None
-
None
Description
`equals` functions should handle `null` and other type objects. Most REEF classes already implements that function properly like the following.
public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ... }
This issue addresses the following classes needed to be changed.
- reef-io : StringIdentifier
- reef-tang: TangImpl.java, AbstractNode, ConstructorArgImpl, ConstructorDefImpl.java
- reef-wake: SocketRemoteIdentifier, Tuple2, TestRemoteIdentifier
Attachments
Issue Links
- links to