From b110cd679021a0b8816fb4e9e03386795fdacd1b Mon Sep 17 00:00:00 2001 From: jorizci Date: Wed, 29 Aug 2018 13:58:22 +0100 Subject: [PATCH] Removed unused imports --- .../accession/configuration/DacServiceConfiguration.java | 8 ++++---- .../configuration/DatasetServiceConfiguration.java | 8 ++++---- .../configuration/ExperimentServiceConfiguration.java | 8 ++++---- .../accession/study/persistence/HistoricStudyEntity.java | 1 - .../study/persistence/StudyEntityRepository.java | 2 -- .../study/persistence/StudyEntityRepositoryImpl.java | 1 - 6 files changed, 12 insertions(+), 16 deletions(-) diff --git a/src/main/java/uk/ac/ebi/ega/accession/configuration/DacServiceConfiguration.java b/src/main/java/uk/ac/ebi/ega/accession/configuration/DacServiceConfiguration.java index 590b7da..10103c8 100644 --- a/src/main/java/uk/ac/ebi/ega/accession/configuration/DacServiceConfiguration.java +++ b/src/main/java/uk/ac/ebi/ega/accession/configuration/DacServiceConfiguration.java @@ -36,12 +36,12 @@ import uk.ac.ebi.ampt2d.commons.accession.persistence.services.BasicSpringDataRepositoryDatabaseService; import uk.ac.ebi.ampt2d.commons.accession.persistence.services.InactiveAccessionService; import uk.ac.ebi.ega.accession.dac.model.Dac; -import uk.ac.ebi.ega.accession.dac.persistence.HistoricLogDacEntity; -import uk.ac.ebi.ega.accession.dac.persistence.HistoricLogDacRepository; -import uk.ac.ebi.ega.accession.dac.persistence.HistoricDacEntity; -import uk.ac.ebi.ega.accession.dac.persistence.HistoricDacRepository; import uk.ac.ebi.ega.accession.dac.persistence.DacEntity; import uk.ac.ebi.ega.accession.dac.persistence.DacEntityRepository; +import uk.ac.ebi.ega.accession.dac.persistence.HistoricDacEntity; +import uk.ac.ebi.ega.accession.dac.persistence.HistoricDacRepository; +import uk.ac.ebi.ega.accession.dac.persistence.HistoricLogDacEntity; +import uk.ac.ebi.ega.accession.dac.persistence.HistoricLogDacRepository; import java.util.Collection; diff --git a/src/main/java/uk/ac/ebi/ega/accession/configuration/DatasetServiceConfiguration.java b/src/main/java/uk/ac/ebi/ega/accession/configuration/DatasetServiceConfiguration.java index 809936d..97687b4 100644 --- a/src/main/java/uk/ac/ebi/ega/accession/configuration/DatasetServiceConfiguration.java +++ b/src/main/java/uk/ac/ebi/ega/accession/configuration/DatasetServiceConfiguration.java @@ -36,12 +36,12 @@ import uk.ac.ebi.ampt2d.commons.accession.persistence.services.BasicSpringDataRepositoryDatabaseService; import uk.ac.ebi.ampt2d.commons.accession.persistence.services.InactiveAccessionService; import uk.ac.ebi.ega.accession.dataset.model.Dataset; -import uk.ac.ebi.ega.accession.dataset.persistence.HistoricLogDatasetEntity; -import uk.ac.ebi.ega.accession.dataset.persistence.HistoricLogDatasetRepository; -import uk.ac.ebi.ega.accession.dataset.persistence.HistoricDatasetEntity; -import uk.ac.ebi.ega.accession.dataset.persistence.HistoricDatasetRepository; import uk.ac.ebi.ega.accession.dataset.persistence.DatasetEntity; import uk.ac.ebi.ega.accession.dataset.persistence.DatasetEntityRepository; +import uk.ac.ebi.ega.accession.dataset.persistence.HistoricDatasetEntity; +import uk.ac.ebi.ega.accession.dataset.persistence.HistoricDatasetRepository; +import uk.ac.ebi.ega.accession.dataset.persistence.HistoricLogDatasetEntity; +import uk.ac.ebi.ega.accession.dataset.persistence.HistoricLogDatasetRepository; import java.util.Collection; diff --git a/src/main/java/uk/ac/ebi/ega/accession/configuration/ExperimentServiceConfiguration.java b/src/main/java/uk/ac/ebi/ega/accession/configuration/ExperimentServiceConfiguration.java index 8eff06b..5ed9db3 100644 --- a/src/main/java/uk/ac/ebi/ega/accession/configuration/ExperimentServiceConfiguration.java +++ b/src/main/java/uk/ac/ebi/ega/accession/configuration/ExperimentServiceConfiguration.java @@ -36,12 +36,12 @@ import uk.ac.ebi.ampt2d.commons.accession.persistence.services.BasicSpringDataRepositoryDatabaseService; import uk.ac.ebi.ampt2d.commons.accession.persistence.services.InactiveAccessionService; import uk.ac.ebi.ega.accession.experiment.model.Experiment; -import uk.ac.ebi.ega.accession.experiment.persistence.HistoricLogExperimentEntity; -import uk.ac.ebi.ega.accession.experiment.persistence.HistoricLogExperimentRepository; -import uk.ac.ebi.ega.accession.experiment.persistence.HistoricExperimentEntity; -import uk.ac.ebi.ega.accession.experiment.persistence.HistoricExperimentRepository; import uk.ac.ebi.ega.accession.experiment.persistence.ExperimentEntity; import uk.ac.ebi.ega.accession.experiment.persistence.ExperimentEntityRepository; +import uk.ac.ebi.ega.accession.experiment.persistence.HistoricExperimentEntity; +import uk.ac.ebi.ega.accession.experiment.persistence.HistoricExperimentRepository; +import uk.ac.ebi.ega.accession.experiment.persistence.HistoricLogExperimentEntity; +import uk.ac.ebi.ega.accession.experiment.persistence.HistoricLogExperimentRepository; import java.util.Collection; diff --git a/src/main/java/uk/ac/ebi/ega/accession/study/persistence/HistoricStudyEntity.java b/src/main/java/uk/ac/ebi/ega/accession/study/persistence/HistoricStudyEntity.java index 0bb8bca..e83b505 100644 --- a/src/main/java/uk/ac/ebi/ega/accession/study/persistence/HistoricStudyEntity.java +++ b/src/main/java/uk/ac/ebi/ega/accession/study/persistence/HistoricStudyEntity.java @@ -19,7 +19,6 @@ import uk.ac.ebi.ampt2d.commons.accession.persistence.jpa.entities.InactiveAccessionEntity; import uk.ac.ebi.ega.accession.study.model.Study; -import uk.ac.ebi.ega.accession.study.persistence.StudyEntity; import javax.persistence.Column; import javax.persistence.Entity; diff --git a/src/main/java/uk/ac/ebi/ega/accession/study/persistence/StudyEntityRepository.java b/src/main/java/uk/ac/ebi/ega/accession/study/persistence/StudyEntityRepository.java index 533166a..a5c863b 100644 --- a/src/main/java/uk/ac/ebi/ega/accession/study/persistence/StudyEntityRepository.java +++ b/src/main/java/uk/ac/ebi/ega/accession/study/persistence/StudyEntityRepository.java @@ -19,8 +19,6 @@ import org.springframework.stereotype.Repository; import uk.ac.ebi.ampt2d.commons.accession.persistence.repositories.IAccessionedObjectRepository; -import uk.ac.ebi.ega.accession.file.persistence.FileEntity; -import uk.ac.ebi.ega.accession.study.persistence.StudyEntity; @Repository public interface StudyEntityRepository extends IAccessionedObjectRepository { diff --git a/src/main/java/uk/ac/ebi/ega/accession/study/persistence/StudyEntityRepositoryImpl.java b/src/main/java/uk/ac/ebi/ega/accession/study/persistence/StudyEntityRepositoryImpl.java index 2678de6..161ac62 100644 --- a/src/main/java/uk/ac/ebi/ega/accession/study/persistence/StudyEntityRepositoryImpl.java +++ b/src/main/java/uk/ac/ebi/ega/accession/study/persistence/StudyEntityRepositoryImpl.java @@ -19,7 +19,6 @@ import org.springframework.transaction.PlatformTransactionManager; import uk.ac.ebi.ampt2d.commons.accession.persistence.jpa.repositories.BasicJpaAccessionedObjectCustomRepositoryImpl; -import uk.ac.ebi.ega.accession.study.persistence.StudyEntity; import javax.persistence.EntityManager;