From 0128e07d690b8d377dc9f2934740f6b12f542231 Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 15 Jul 2002 14:33:32 +0000 Subject: [PATCH] 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.) --- src/helma/objectmodel/db/Node.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helma/objectmodel/db/Node.java b/src/helma/objectmodel/db/Node.java index 10bbcd5a..989f7d7f 100644 --- a/src/helma/objectmodel/db/Node.java +++ b/src/helma/objectmodel/db/Node.java @@ -526,12 +526,12 @@ public final class Node implements INode, Serializable { public String getPrototype () { - if (prototype == null && propMap != null) { + /* if (prototype == null && propMap != null) { // retrieve prototype name from properties Property pp = (Property) propMap.get ("prototype"); if (pp != null) prototype = pp.getStringValue (); - } + } */ return prototype; }