From 3dec32bd31dc3337cbce0d92dbc73ba3f3ab22d2 Mon Sep 17 00:00:00 2001 From: Mridul Pathak Date: Sat, 15 Oct 2016 11:46:51 +0000 Subject: [PATCH] Improved: Removed unused imports from groovy files in BI component. (OFBIZ-8474) Thanks: Gopal Yadav for contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1765037 13f79535-47bb-0310-9956-ffa450edef68 --- bi/groovyScripts/GetStarSchemaFields.groovy | 12 ------------ bi/groovyScripts/GetStarSchemas.groovy | 9 --------- 2 files changed, 21 deletions(-) diff --git a/bi/groovyScripts/GetStarSchemaFields.groovy b/bi/groovyScripts/GetStarSchemaFields.groovy index 7ab1a75a8..75684a00c 100644 --- a/bi/groovyScripts/GetStarSchemaFields.groovy +++ b/bi/groovyScripts/GetStarSchemaFields.groovy @@ -17,18 +17,6 @@ * under the License. */ -import java.util.Collection; -import java.util.Iterator; -import java.util.TreeSet; - -import org.apache.ofbiz.base.util.UtilValidate; -import org.apache.ofbiz.entity.Delegator; -import org.apache.ofbiz.entity.model.ModelReader; -import org.apache.ofbiz.entity.model.ModelEntity; -import org.apache.ofbiz.entity.model.ModelField; -import org.apache.ofbiz.entity.model.ModelViewEntity; -import org.apache.ofbiz.entity.model.ModelViewEntity.ModelAlias; - starSchemaName = parameters.starSchemaName; starSchemaFields = []; diff --git a/bi/groovyScripts/GetStarSchemas.groovy b/bi/groovyScripts/GetStarSchemas.groovy index b0daca274..02cb13d2e 100644 --- a/bi/groovyScripts/GetStarSchemas.groovy +++ b/bi/groovyScripts/GetStarSchemas.groovy @@ -17,15 +17,6 @@ * under the License. */ -import java.util.Collection; -import java.util.Iterator; -import java.util.TreeSet; - -import org.apache.ofbiz.entity.Delegator; -import org.apache.ofbiz.entity.model.ModelReader; -import org.apache.ofbiz.entity.model.ModelEntity; -import org.apache.ofbiz.entity.model.ModelViewEntity; - reader = delegator.getModelReader(); ec = reader.getEntityNames(); entities = new TreeSet(ec);