Author: mrisaliti
Date: Sun May 22 13:24:55 2011
New Revision: 1125957
URL:
http://svn.apache.org/viewvc?rev=1125957&view=revLog:
Remove some unused import/variable into ContentKeywordIndex
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/content/ContentKeywordIndex.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/content/ContentKeywordIndex.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/content/ContentKeywordIndex.java?rev=1125957&r1=1125956&r2=1125957&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/content/ContentKeywordIndex.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/content/ContentKeywordIndex.java Sun May 22 13:24:55 2011
@@ -19,7 +19,6 @@
package org.ofbiz.content.content;
import java.io.IOException;
-import java.sql.Timestamp;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -29,7 +28,6 @@ import javolution.util.FastList;
import org.ofbiz.base.util.Debug;
import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.UtilDateTime;
import org.ofbiz.base.util.UtilMisc;
import org.ofbiz.base.util.UtilProperties;
import org.ofbiz.base.util.UtilValidate;
@@ -38,7 +36,6 @@ import org.ofbiz.content.data.DataResour
import org.ofbiz.entity.Delegator;
import org.ofbiz.entity.GenericEntityException;
import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityUtil;
/**
* Does indexing in preparation for a keyword search.
@@ -57,8 +54,7 @@ public class ContentKeywordIndex {
public static void indexKeywords(GenericValue content, boolean doAll) throws GenericEntityException {
if (content == null) return;
- Timestamp nowTimestamp = UtilDateTime.nowTimestamp();
-
+
Delegator delegator = content.getDelegator();
if (delegator == null) return;
String contentId = content.getString("contentId");