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:
parent
54f2a0e317
commit
0128e07d69
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue