]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/AbstractVariable.java
PropertyMap.get does not return null if there is no mapping for the key
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / variable / AbstractVariable.java
index 3d527e03957509764e7daebf23ff27e01fd59999..d9366b132aa2a41e471bf0cd2ea7d1c9b19cef96 100644 (file)
@@ -302,7 +302,7 @@ public abstract class AbstractVariable implements Variable {
                if(Variables.TYPE.equals(key)) return getTypeVariable();
                else if(Variables.URI.equals(key)) return getURIVariable();
                
-                       return variable;
+                       return null;
                }
        
     }