Skip to content

Instantly share code, notes, and snippets.

@behrangsa
Created February 19, 2014 02:30
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 behrangsa/9085005 to your computer and use it in GitHub Desktop.
Save behrangsa/9085005 to your computer and use it in GitHub Desktop.
Typo in JCR spec

Where: [javax/jcr/Node.html#setProperty(java.lang.String, javax.jcr.Value)](http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/Node.html#setProperty(java.lang.String, javax.jcr.Value))

What: "by the" is repeated twice:

If the property does not yet exist, it is created and its property type determined by the by the node type of this node. If, based on the name and value passed, there is more than one property definition that applies, the repository chooses one definition according to some implementation-specific criteria. Once a property with name P has been created, the behavior of a subsequent setProperty(P,V) may differ across implementations. Some repositories may allow P to be dynamically re-bound to a different property definition (based for example, on the new value being of a different type than the original value) while other repositories may not allow such dynamic re-binding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment