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

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

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

mbrohl
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()));