You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2016/09/17 20:42:38 UTC

svn commit: r1761277 - /ofbiz/trunk/specialpurpose/lucene/groovyScripts/content/AdvancedSearchPrep.groovy

Author: mbrohl
Date: Sat Sep 17 20:42:37 2016
New Revision: 1761277

URL: http://svn.apache.org/viewvc?rev=1761277&view=rev
Log:
Improved: Lucene : Remove unused imports from groovy files for code optimization. 
(OFBIZ-8033)

Thanks: Ankit Joshi for reporting and providing the patch.

Modified:
    ofbiz/trunk/specialpurpose/lucene/groovyScripts/content/AdvancedSearchPrep.groovy

Modified: ofbiz/trunk/specialpurpose/lucene/groovyScripts/content/AdvancedSearchPrep.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/lucene/groovyScripts/content/AdvancedSearchPrep.groovy?rev=1761277&r1=1761276&r2=1761277&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/lucene/groovyScripts/content/AdvancedSearchPrep.groovy (original)
+++ ofbiz/trunk/specialpurpose/lucene/groovyScripts/content/AdvancedSearchPrep.groovy Sat Sep 17 20:42:37 2016
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-import org.apache.ofbiz.product.catalog.*
-import org.apache.ofbiz.product.feature.*
-import org.apache.ofbiz.product.product.*
+import org.apache.ofbiz.product.feature.ParametricSearch;
+import org.apache.ofbiz.product.product.ProductSearchSession;
 
 productFeaturesByTypeMap = ParametricSearch.getAllFeaturesByType(delegator, 2000);
 productFeatureTypeIdsOrdered = new ArrayList(new TreeSet(productFeaturesByTypeMap.keySet()));