jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r489116 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
Date Wed, 20 Dec 2006 15:39:15 GMT
Author: mreutegg
Date: Wed Dec 20 07:39:15 2006
New Revision: 489116

URL: http://svn.apache.org/viewvc?view=rev&rev=489116
Log:
JCR-415: Enhance indexing of binary content
- Remove unused method

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java?view=diff&rev=489116&r1=489115&r2=489116
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
Wed Dec 20 07:39:15 2006
@@ -96,26 +96,6 @@
     }
 
     /**
-     * Creates a lucene Document from a node.
-     *
-     * @param node          the node state to index.
-     * @param stateProvider the state provider to retrieve property values.
-     * @param mappings      internal namespace mappings.
-     * @param extractor     text extractor
-     * @return the lucene Document.
-     * @throws RepositoryException if an error occurs while reading property
-     *                             values from the <code>ItemStateProvider</code>.
-     */
-    public static Document createDocument(NodeState node,
-                                          ItemStateManager stateProvider,
-                                          NamespaceMappings mappings,
-                                          TextExtractor extractor)
-            throws RepositoryException {
-        NodeIndexer indexer = new NodeIndexer(node, stateProvider, mappings, extractor);
-        return indexer.createDoc();
-    }
-
-    /**
      * Returns the <code>NodeId</code> of the indexed node.
      * @return the <code>NodeId</code> of the indexed node.
      */



Mime
View raw message