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/28 10:21:26 UTC
svn commit: r1518098 -
/ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java
Author: jacopoc
Date: Wed Aug 28 08:21:26 2013
New Revision: 1518098
URL: http://svn.apache.org/r1518098
Log:
Removed some old unused methods and fields.
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java?rev=1518098&r1=1518097&r2=1518098&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java Wed Aug 28 08:21:26 2013
@@ -51,25 +51,8 @@ import org.apache.lucene.document.TextFi
public class ContentDocument {
- static char dirSep = System.getProperty("file.separator").charAt(0);
public static final String module = ContentDocument.class.getName();
- public static Document Document(String id, Delegator delegator, LocalDispatcher dispatcher) throws InterruptedException {
-
- Document doc = null;
- GenericValue content;
- try {
- content = delegator.findOne("Content", UtilMisc.toMap("contentId",id), true);
- } catch (GenericEntityException e) {
- Debug.logError(e, module);
- return doc;
- }
-
- Map<String, Object> map = FastMap.newInstance();
- doc = Document(content, map, dispatcher);
- return doc;
- }
-
public static Document Document(GenericValue content, Map<String, Object> context, LocalDispatcher dispatcher) throws InterruptedException {
Document doc;