Afternoon merge.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-05-17 22:42:03 +00:00
parent 8818e8daba
commit bfd0d2a337
17 changed files with 445 additions and 85 deletions

View File

@@ -40,8 +40,15 @@ public class ScriptableHashMap<K,V> extends HashMap implements Scriptable
*/
public Object get(String name, Scriptable start)
{
// get the property from the underlying map
return get(name);
// get the property from the underlying QName map
if ("length".equals(name))
{
return this.size();
}
else
{
return get(name);
}
}
/**