You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2007/09/20 16:29:31 UTC

svn commit: r577767 - in /incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr: BaseContent.java SimpleContent.java

Author: fmeschbe
Date: Thu Sep 20 07:29:30 2007
New Revision: 577767

URL: http://svn.apache.org/viewvc?rev=577767&view=rev
Log:
SLING-13 ocm mappings are incorrect: replace jcrNodeType with JcrType

Modified:
    incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/BaseContent.java
    incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/SimpleContent.java

Modified: incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/BaseContent.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/BaseContent.java?rev=577767&r1=577766&r2=577767&view=diff
==============================================================================
--- incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/BaseContent.java (original)
+++ incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/BaseContent.java Thu Sep 20 07:29:30 2007
@@ -34,7 +34,7 @@
  * <code>Content</code> interface, it is still marked <i>abstract</i> as on
  * its own this class has no use.
  *
- * @ocm.mapped jcrNodeType="sling:Content" discriminator="false"
+ * @ocm.mapped jcrType="sling:Content" discriminator="false"
  */
 public abstract class BaseContent extends SimpleContent {
 

Modified: incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/SimpleContent.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/SimpleContent.java?rev=577767&r1=577766&r2=577767&view=diff
==============================================================================
--- incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/SimpleContent.java (original)
+++ incubator/sling/trunk/content/src/main/java/org/apache/sling/content/jcr/SimpleContent.java Thu Sep 20 07:29:30 2007
@@ -31,7 +31,7 @@
  * node type (the root node type) mapping the path of the node to the
  * {@link #getPath() path} field.
  *
- * @ocm.mapped jcrNodeType="nt:base" discriminator="false"
+ * @ocm.mapped jcrType="nt:base" discriminator="false"
  */
 public abstract class SimpleContent implements Content {