Skip to content

Instantly share code, notes, and snippets.

@kendall
Created May 7, 2010 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kendall/393617 to your computer and use it in GitHub Desktop.
Save kendall/393617 to your computer and use it in GitHub Desktop.
// now we can delete our new book
aManager.remove(aNewBook);
// false!
System.err.println(aManager.contains(aNewBook));
// but the new manifestation still exists, since we did not specify that deletes should cascade...
// true!
System.err.println(aManager.contains(aPDFManifestation));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment