jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r161423 - in incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype: NodeDefImpl.java xml/Constants.java
Date Fri, 15 Apr 2005 08:11:40 GMT
Author: tripod
Date: Fri Apr 15 01:11:39 2005
New Revision: 161423

URL: http://svn.apache.org/viewcvs?view=rev&rev=161423
Log:
- fixing wrong override
- altering xml.Constants class to interface

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDefImpl.java
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDefImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDefImpl.java?view=diff&r1=161422&r2=161423
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDefImpl.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDefImpl.java
Fri Apr 15 01:11:39 2005
@@ -70,7 +70,7 @@
     /**
      * {@inheritDoc}
      */
-    public void setAutoCreate(boolean autoCreated) {
+    public void setAutoCreated(boolean autoCreated) {
         if (id != null) {
             throw new IllegalStateException("Unable to set attribute. ChildNodeDef already
compiled.");
         }

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java?view=diff&r1=161422&r2=161423
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java
Fri Apr 15 01:11:39 2005
@@ -19,7 +19,7 @@
 /**
  * Name constants for the node type XML elements and attributes.
  */
-public class Constants {
+public interface Constants {
 
     /** Name of the node type definition root element. */
     public static final String NODETYPES_ELEMENT = "nodeTypes";



Mime
View raw message