Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODE-1552 Corrected how Node.save() works with descendant shared nodes #512

Merged
merged 2 commits into from Sep 7, 2012

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Sep 7, 2012

The Node.save() method is deprecated, but the behavior was incorrect when there were shared nodes below the node being saved and where the shared nodes were in the same shared set as nodes that were not descendants. This behavior was corrected while keeping Node.save() relatively efficient, although it's still not as efficient as a regular Session.save().

All TCK unit tests pass with these fixes!

This pull-request also contains some corrections for JavaDoc errors and compiler warnings introduced in recent commits.

The Node.save() method is deprecated, but the behavior was incorrect when there were
shared nodes below the node being saved and where the shared nodes were in the same
shared set as nodes that were not descendants. This behavior was corrected while keeping
Node.save() relatively efficient, although it's still not as efficient as a regular
Session.save().

All TCK unit tests pass with these fixes!
@rhauch rhauch merged commit 105e5f8 into ModeShape:master Sep 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant