incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r577771 - in /incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting: ScriptedComponent.java core/ScriptImpl.java
Date Thu, 20 Sep 2007 14:33:23 GMT
Author: fmeschbe
Date: Thu Sep 20 07:33:22 2007
New Revision: 577771

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

Modified:
    incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/ScriptedComponent.java
    incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/core/ScriptImpl.java

Modified: incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/ScriptedComponent.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/ScriptedComponent.java?rev=577771&r1=577770&r2=577771&view=diff
==============================================================================
--- incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/ScriptedComponent.java
(original)
+++ incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/ScriptedComponent.java
Thu Sep 20 07:33:22 2007
@@ -44,7 +44,7 @@
  * {@link #callScript(ComponentRenderer, ComponentRequest, ComponentResponse)}
  * methods.
  *
- * @ocm.mapped jcrNodeType="sling:ScriptedComponent" discriminator="false"
+ * @ocm.mapped jcrType="sling:ScriptedComponent" discriminator="false"
  */
 public class ScriptedComponent extends AbstractRepositoryComponent {
 
@@ -57,7 +57,7 @@
     private Component superComponent;
 
     /**
-     * @ocm.collection jcrName="sling:scripts" jcrNodeType="sling:ScriptList"
+     * @ocm.collection jcrName="sling:scripts" jcrType="sling:ScriptList"
      *                 elementClassName="org.apache.sling.scripting.Script"
      */
     private Script[] scripts;

Modified: incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/core/ScriptImpl.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/core/ScriptImpl.java?rev=577771&r1=577770&r2=577771&view=diff
==============================================================================
--- incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/core/ScriptImpl.java
(original)
+++ incubator/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/core/ScriptImpl.java
Thu Sep 20 07:33:22 2007
@@ -39,7 +39,7 @@
  * single <code>&lt;script /&gt;</code> element of a
  * <code>&lt;template /&gt;</code>
  *
- * @ocm.mapped jcrNodeType="sling:Script" implement=""
+ * @ocm.mapped jcrType="sling:Script" implement=""
  */
 public class ScriptImpl implements Comparable, Script {
 



Mime
View raw message