svn commit: r995715 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r995715 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java

lektran
Author: lektran
Date: Fri Sep 10 09:26:43 2010
New Revision: 995715

URL: http://svn.apache.org/viewvc?rev=995715&view=rev
Log:
Correct a couple of copy/paste errors.

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java?rev=995715&r1=995714&r2=995715&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java Fri Sep 10 09:26:43 2010
@@ -169,7 +169,7 @@ public class SearchWorker {
         Term term = new Term("contentId", contentId);
         if (Debug.infoOn()) Debug.logInfo("in indexContent, term:" + term, module);
         int qtyDeleted = reader.deleteDocuments(term);
-        if (Debug.infoOn()) Debug.logInfo("in indexContent, qtyDeleted:" + term, module);
+        if (Debug.infoOn()) Debug.logInfo("in indexContent, qtyDeleted:" + qtyDeleted, module);
         String dataResourceId = content.getString("dataResourceId");
         if (dataResourceId != null) {
             deleteDataResourceDocument(dataResourceId, reader);
@@ -182,7 +182,7 @@ public class SearchWorker {
         Term term = new Term("dataResourceId", dataResourceId);
         if (Debug.infoOn()) Debug.logInfo("in indexContent, term:" + term, module);
         int qtyDeleted = reader.deleteDocuments(term);
-        if (Debug.infoOn()) Debug.logInfo("in indexContent, qtyDeleted:" + term, module);
+        if (Debug.infoOn()) Debug.logInfo("in indexContent, qtyDeleted:" + qtyDeleted, module);
 
     }