Removed code to retrieve prototype from propertiy map in getPrototype().

(This was a backwards compatibility feature for when prototype was stored as
a generic property.)
This commit is contained in:
hns 2002-07-15 14:33:32 +00:00
parent 54f2a0e317
commit 0128e07d69

View file

@ -526,12 +526,12 @@ public final class Node implements INode, Serializable {
public String getPrototype () { public String getPrototype () {
if (prototype == null && propMap != null) { /* if (prototype == null && propMap != null) {
// retrieve prototype name from properties // retrieve prototype name from properties
Property pp = (Property) propMap.get ("prototype"); Property pp = (Property) propMap.get ("prototype");
if (pp != null) if (pp != null)
prototype = pp.getStringValue (); prototype = pp.getStringValue ();
} } */
return prototype; return prototype;
} }