merge of '2cb50c2864d750f33039bdbaeb6c15d2bd636ce4'

and 'cb2fbb74aa4412375fdbc546fe2218ca1704cd7d'
This commit is contained in:
dev
2015-04-04 19:49:47 +00:00

View File

@@ -284,11 +284,16 @@ public class Node
//////////////////////////////////////////////// ////////////////////////////////////////////////
// equals // equals
//////////////////////////////////////////////// ////////////////////////////////////////////////
@Override
public boolean equals(Node otherNode) { public boolean equals(Object o) {
if (otherNode == null) if (this == o)
return true;
if (o == null)
return false;
if (!(o instanceof Node))
return false; return false;
Node otherNode = (Node) o;
String thisNodeString = toString(); String thisNodeString = toString();
String otherNodeString = otherNode.toString(); String otherNodeString = otherNode.toString();