Skip to content

Commit

Permalink
JCR-1766 fix merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemyslaw Pakulski committed Sep 25, 2008
1 parent fb13679 commit bfca334
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -115,14 +115,15 @@ public NodePropBundle readBundle(DataInputStream in, NodeId id)
// properties
name = readIndexedQName(in);
while (name != null) {
PropertyId pId = new PropertyId(bundle.getId(), name);
// skip redundant primaryType, mixinTypes and uuid properties
if (name.equals(NameConstants.JCR_PRIMARYTYPE)
|| name.equals(NameConstants.JCR_MIXINTYPES)
|| name.equals(NameConstants.JCR_UUID)) {
readPropertyEntry(in, pId);
name = readIndexedQName(in);
continue;
}
PropertyId pId = new PropertyId(bundle.getId(), name);
NodePropBundle.PropertyEntry pState = readPropertyEntry(in, pId);
bundle.addProperty(pState);
name = readIndexedQName(in);
Expand Down

0 comments on commit bfca334

Please sign in to comment.