You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2013/08/30 16:52:34 UTC
svn commit: r1518985 -
/ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/SearchWorker.java
Author: jacopoc
Date: Fri Aug 30 14:52:34 2013
New Revision: 1518985
URL: http://svn.apache.org/r1518985
Log:
Removed unused argument from a private method's signature.
Modified:
ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/SearchWorker.java
Modified: ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/SearchWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/SearchWorker.java?rev=1518985&r1=1518984&r2=1518985&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/SearchWorker.java (original)
+++ ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/SearchWorker.java Fri Aug 30 14:52:34 2013
@@ -139,7 +139,7 @@ public class SearchWorker {
}
}
for (GenericValue gv : contentList) {
- indexContent(dispatcher, delegator, context, gv, writer);
+ indexContent(dispatcher, context, gv, writer);
}
try {
writer.forceMerge(1);
@@ -173,7 +173,7 @@ public class SearchWorker {
if (Debug.infoOn()) Debug.logInfo("For term " + term.toString() + ", documents deleted: " + qtyBefore + ", remaining: " + qtyAfter, module);
}
- private static void indexContent(LocalDispatcher dispatcher, Delegator delegator, Map<String, Object> context, GenericValue content, IndexWriter writer) throws Exception {
+ private static void indexContent(LocalDispatcher dispatcher, Map<String, Object> context, GenericValue content, IndexWriter writer) throws Exception {
Document doc = ContentDocument.Document(content, context, dispatcher);
if (doc != null) {