From 9e966bcb8f16eb49c4417a92e38c70dd406b516a Mon Sep 17 00:00:00 2001 From: automated changes Date: Wed, 18 Oct 2023 10:34:46 +0000 Subject: [PATCH] code format with spotless automatic --- .../core/proteome/impl/ProteomeStatisticsImpl.java | 6 +++--- .../core/proteome/impl/ProteomeStatisticsImplTest.java | 7 +++---- .../core/json/parser/proteome/ProteomeJsonConfig.java | 9 +++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/core-domain/src/main/java/org/uniprot/core/proteome/impl/ProteomeStatisticsImpl.java b/core-domain/src/main/java/org/uniprot/core/proteome/impl/ProteomeStatisticsImpl.java index 7af954e5d..132f25bd6 100644 --- a/core-domain/src/main/java/org/uniprot/core/proteome/impl/ProteomeStatisticsImpl.java +++ b/core-domain/src/main/java/org/uniprot/core/proteome/impl/ProteomeStatisticsImpl.java @@ -1,10 +1,10 @@ package org.uniprot.core.proteome.impl; +import java.util.Objects; + import org.uniprot.core.impl.StatisticsImpl; import org.uniprot.core.proteome.ProteomeStatistics; -import java.util.Objects; - public class ProteomeStatisticsImpl extends StatisticsImpl implements ProteomeStatistics { private static final long serialVersionUID = -8585233468042758658L; private final long isoformProteinCount; @@ -16,7 +16,7 @@ public class ProteomeStatisticsImpl extends StatisticsImpl implements ProteomeSt } ProteomeStatisticsImpl() { - this(0, 0,0); + this(0, 0, 0); } @Override diff --git a/core-domain/src/test/java/org/uniprot/core/proteome/impl/ProteomeStatisticsImplTest.java b/core-domain/src/test/java/org/uniprot/core/proteome/impl/ProteomeStatisticsImplTest.java index e1e3edcae..e2e3bebc1 100644 --- a/core-domain/src/test/java/org/uniprot/core/proteome/impl/ProteomeStatisticsImplTest.java +++ b/core-domain/src/test/java/org/uniprot/core/proteome/impl/ProteomeStatisticsImplTest.java @@ -1,10 +1,10 @@ package org.uniprot.core.proteome.impl; -import org.junit.jupiter.api.Test; - import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; +import org.junit.jupiter.api.Test; + class ProteomeStatisticsImplTest { public static final int REVIEWED_PROTEIN_COUNT = 98; public static final int UNREVIEWED_PROTEIN_COUNT = 33; @@ -23,8 +23,7 @@ void getCountsAreAccurate() { @Test void defaultConstructor() { - ProteomeStatisticsImpl that = - new ProteomeStatisticsImpl(); + ProteomeStatisticsImpl that = new ProteomeStatisticsImpl(); assertEquals(new ProteomeStatisticsImpl(0, 0, 0), that); } diff --git a/json-parser/src/main/java/org/uniprot/core/json/parser/proteome/ProteomeJsonConfig.java b/json-parser/src/main/java/org/uniprot/core/json/parser/proteome/ProteomeJsonConfig.java index 20b2115e8..cf9bf96d2 100644 --- a/json-parser/src/main/java/org/uniprot/core/json/parser/proteome/ProteomeJsonConfig.java +++ b/json-parser/src/main/java/org/uniprot/core/json/parser/proteome/ProteomeJsonConfig.java @@ -1,8 +1,7 @@ package org.uniprot.core.json.parser.proteome; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.jsontype.NamedType; -import com.fasterxml.jackson.databind.module.SimpleModule; +import java.time.LocalDate; + import org.uniprot.core.CrossReference; import org.uniprot.core.Database; import org.uniprot.core.Value; @@ -24,7 +23,9 @@ import org.uniprot.core.uniprotkb.taxonomy.Taxonomy; import org.uniprot.core.uniprotkb.taxonomy.impl.TaxonomyImpl; -import java.time.LocalDate; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.jsontype.NamedType; +import com.fasterxml.jackson.databind.module.SimpleModule; public class ProteomeJsonConfig extends JsonConfig { private static ProteomeJsonConfig instance;