diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java index cff186919..91ece1eb5 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java @@ -16,7 +16,6 @@ package org.apache.openjpa.jdbc.kernel; import java.sql.ResultSet; -import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/MappingRepository.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/MappingRepository.java index 0c5561d54..dd31871bc 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/MappingRepository.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/MappingRepository.java @@ -70,7 +70,6 @@ import org.apache.openjpa.lib.util.Localizer; import org.apache.openjpa.meta.ClassMetaData; import org.apache.openjpa.meta.FieldMetaData; import org.apache.openjpa.meta.JavaTypes; -import org.apache.openjpa.meta.MetaDataFactory; import org.apache.openjpa.meta.MetaDataRepository; import org.apache.openjpa.meta.Order; import org.apache.openjpa.meta.SequenceMetaData; diff --git a/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java b/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java index 944249cfc..1153ab869 100644 --- a/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java +++ b/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java @@ -178,7 +178,7 @@ public class PCClassFileTransformer idx += 6; // skip access, cls, super int ifaces = table.readUnsignedShort(idx); - int clsEntry, utfEntry, len; + int clsEntry, utfEntry; String name; for (int i = 0; i < ifaces; i++) { idx += 2; diff --git a/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/PCEnhancerAgent.java b/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/PCEnhancerAgent.java index ee2c1e00e..953eb8430 100644 --- a/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/PCEnhancerAgent.java +++ b/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/PCEnhancerAgent.java @@ -22,7 +22,6 @@ import org.apache.openjpa.conf.OpenJPAConfigurationImpl; import org.apache.openjpa.lib.conf.Configurations; import org.apache.openjpa.lib.util.Options; import org.apache.openjpa.lib.util.TemporaryClassLoader; -import org.apache.openjpa.meta.MetaDataRepository; import org.apache.openjpa.util.ClassResolver; /** diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java b/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java index 17f682b26..016d7efb5 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java @@ -29,7 +29,6 @@ import org.apache.openjpa.lib.conf.Configurable; import org.apache.openjpa.lib.conf.Configuration; import org.apache.openjpa.lib.log.Log; import org.apache.openjpa.lib.util.Localizer; -import org.apache.openjpa.lib.util.ReferenceHashSet; import org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager; import org.apache.openjpa.lib.util.concurrent.ConcurrentReferenceHashSet; import org.apache.openjpa.meta.ClassMetaData; diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/CodeGenerator.java b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/CodeGenerator.java index 8617e532d..10b6c9801 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/CodeGenerator.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/CodeGenerator.java @@ -30,7 +30,6 @@ import org.apache.openjpa.lib.util.ParameterTemplate; import org.apache.openjpa.meta.ClassMetaData; import org.apache.openjpa.meta.FieldMetaData; import org.apache.openjpa.meta.JavaTypes; -import org.apache.openjpa.meta.MetaDataRepository; import serp.util.Strings; /** diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java index d886ae63d..6257ea176 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java @@ -17,10 +17,8 @@ package org.apache.openjpa.kernel; import java.util.*; -import org.apache.openjpa.enhance.StateManager; import org.apache.openjpa.meta.FetchGroup; import org.apache.openjpa.meta.FieldMetaData; -import org.apache.openjpa.util.InternalException; /** * Holds dynamic status of fetch operation. Decides whether a field diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java index c15023eb8..444edd437 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java @@ -30,7 +30,6 @@ import org.apache.openjpa.event.LifecycleEvent; import org.apache.openjpa.event.LifecycleEventManager; import org.apache.openjpa.lib.util.Localizer; import org.apache.openjpa.meta.ClassMetaData; -import org.apache.openjpa.meta.FetchGroup; import org.apache.openjpa.meta.FieldMetaData; import org.apache.openjpa.meta.JavaTypes; import org.apache.openjpa.meta.UpdateStrategies; diff --git a/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java b/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java index 28a949eec..51120c10a 100644 --- a/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java +++ b/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java @@ -41,13 +41,11 @@ import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; -import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.MissingResourceException; import java.util.Properties; -import java.util.Set; import java.util.TreeSet; import org.apache.commons.lang.StringUtils; diff --git a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java index c35d39af0..e3f1c8186 100644 --- a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java +++ b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/AnnotationPersistenceMappingParser.java @@ -70,7 +70,6 @@ import org.apache.openjpa.lib.util.Localizer; import org.apache.openjpa.meta.ClassMetaData; import org.apache.openjpa.meta.FieldMetaData; import org.apache.openjpa.meta.JavaTypes; -import org.apache.openjpa.meta.MetaDataRepository; import org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser; import static org.apache.openjpa.persistence.jdbc.MappingTag.*; import org.apache.openjpa.util.InternalException; diff --git a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java index 2f6475da3..04d7dd738 100644 --- a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java +++ b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java @@ -50,7 +50,6 @@ import org.apache.openjpa.lib.util.Localizer; import org.apache.openjpa.meta.ClassMetaData; import org.apache.openjpa.meta.FieldMetaData; import org.apache.openjpa.meta.JavaTypes; -import org.apache.openjpa.meta.MetaDataRepository; import org.apache.openjpa.persistence.XMLPersistenceMetaDataParser; import static org.apache.openjpa.persistence.jdbc.MappingTag.*;