Bug fix, sometimes an edge matches except it has a different type of source node...
[IRC.git] / Robust / src / Analysis / Disjoint / VariableNode.java
index 7e58ea79b5a5e28272e8bd2b78792ee9e9619c52..10950558ac00efb16c5e63a072691ff963821eb9 100644 (file)
@@ -20,13 +20,13 @@ public class VariableNode extends RefSrcNode {
       return false;
     }
 
-    if( !( o instanceof VariableNode) ) {
+    if( !(o instanceof VariableNode) ) {
       return false;
     }
 
-    VariableNode ln = (VariableNode) o;
+    VariableNode vn = (VariableNode) o;
 
-    return td == ln.getTempDescriptor();
+    return td == vn.getTempDescriptor();
   }
 
   public int hashCode() {
@@ -38,6 +38,6 @@ public class VariableNode extends RefSrcNode {
   }
 
   public String toString() {
-    return "LN_"+getTempDescriptorString();
+    return "VN_"+getTempDescriptorString();
   }
 }