Author: stillalex
Date: Thu Oct 19 13:07:44 2017
New Revision: 1812639

URL: http://svn.apache.org/viewvc?rev=1812639&view=rev
Log:
OAK-6834 Make TypeEditor publically accessible and allow pluggable constraint 
violation handling
 - fixed javadocs


Modified:
    
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java

Modified: 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java?rev=1812639&r1=1812638&r2=1812639&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java
 (original)
+++ 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java
 Thu Oct 19 13:07:44 2017
@@ -82,7 +82,7 @@ public class TypeEditor extends DefaultE
         /**
          * Invoked whenever a constraint violation is detected.
          * 
-         * <p>Implementors may choose to throw a {@link 
#CommitFailedException} or to handle the error
+         * <p>Implementors may choose to throw a {@link 
org.apache.jackrabbit.oak.api.CommitFailedException} or to handle the error
          * internally, for instance by logging.</p>
          * 
          * <p>Implementors may <b>not</b> throw other exception types from 
this method.</p>
@@ -90,8 +90,8 @@ public class TypeEditor extends DefaultE
          * @param path the path where the constraint violation was detected
          * @param nodeTypeNames the node type names of the node
          * @param code the error code
-         * @param message the descriptive error mesage
-         * @throws CommitFailedException thrown when the implementation 
decides to stop futher processing
+         * @param message the descriptive error message
+         * @throws CommitFailedException thrown when the implementation 
decides to stop further processing
          * 
          * @see TypeEditor#THROW_ON_CONSTRAINT_VIOLATION
          * @see TypeEditor#WARN_ON_CONSTRAINT_VIOLATION
@@ -123,13 +123,13 @@ public class TypeEditor extends DefaultE
     };
     
     /**
-     * Creates a new <tt>TypeEditor</instance>
+     * Creates a new <tt>TypeEditor</tt> instance
      * 
      * @param callback the callback to use when a constraint violation is 
found. The client must
      *   check the results of the callback invocations if the specified 
callback does not
      *   immediately propagate constraint violations as checked exceptions.
      * @param typesToCheck the types to check for. If <tt>null</tt>, this node 
is checked. Otherwise
-     *  it is checked if its primary type or one of it's mixin types is 
containd in this parameters 
+     *  it is checked if its primary type or one of it's mixin types is 
contained in this parameters
      * @param types the <tt>/jcr:system/jcr:nodeTypes</tt> node
      * @param primary the node's primary type
      * @param mixins the node's mixins


Reply via email to