Author: mreutegg Date: Tue Oct 2 07:55:35 2012 New Revision: 1392779 URL: http://svn.apache.org/viewvc?rev=1392779&view=rev Log: OAK-41: Initial repository setup - remove FIXME
Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/BuiltInNodeTypes.java Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/BuiltInNodeTypes.java URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/BuiltInNodeTypes.java?rev=1392779&r1=1392778&r2=1392779&view=diff ============================================================================== --- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/BuiltInNodeTypes.java (original) +++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/BuiltInNodeTypes.java Tue Oct 2 07:55:35 2012 @@ -60,10 +60,6 @@ public class BuiltInNodeTypes { private void registerBuiltinNodeTypes() { // FIXME: migrate custom node types as well. - // FIXME: registration of built-in node types should be moved to repo-setup - // as the jcr:nodetypes tree is protected and the editing session may - // not have sufficient permission to register node types or may - // even have limited read-permission on the jcr:nodetypes path. if (!nodeTypesInContent()) { try { InputStream stream = BuiltInNodeTypes.class.getResourceAsStream("builtin_nodetypes.cnd");