jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1387934 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/ReadWriteNodeTypeManager.java
Date Thu, 20 Sep 2012 09:37:16 GMT
Author: mduerig
Date: Thu Sep 20 09:37:15 2012
New Revision: 1387934

URL: http://svn.apache.org/viewvc?rev=1387934&view=rev
Log:
OAK-66: JCR Node Type Management
Use Reader instead of InputStreamReader

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/ReadWriteNodeTypeManager.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/ReadWriteNodeTypeManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/ReadWriteNodeTypeManager.java?rev=1387934&r1=1387933&r2=1387934&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/ReadWriteNodeTypeManager.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/ReadWriteNodeTypeManager.java
Thu Sep 20 09:37:15 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.jackrabbit.oak.plugins.type;
 
-import java.io.InputStreamReader;
+import java.io.Reader;
 import java.util.List;
 import java.util.Map;
 
@@ -139,7 +139,7 @@ public abstract class ReadWriteNodeTypeM
      * @throws ParseException  if parsing the CND fails
      * @throws RepositoryException  if registering the node types fails
      */
-    public void registerNodeTypes(InputStreamReader cnd) throws ParseException, RepositoryException
{
+    public void registerNodeTypes(Reader cnd) throws ParseException, RepositoryException
{
         CompactNodeTypeDefReader<NodeTypeTemplate, Map<String, String>> reader
=
                 new CompactNodeTypeDefReader<NodeTypeTemplate, Map<String, String>>(
                         cnd, null, new DefBuilderFactory(getNameMapper()));



Mime
View raw message