From 19b204810994b67f47a5310aa9b6551eb3f0e2cf Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Wed, 25 Mar 2020 17:40:38 +0100 Subject: [PATCH] code formatting --- .../dhp/application/ArgumentApplicationParserTest.java | 5 ----- .../eu/dnetlib/dhp/model/mdstore/MetadataRecordTest.java | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/dhp-common/src/test/java/eu/dnetlib/dhp/application/ArgumentApplicationParserTest.java b/dhp-common/src/test/java/eu/dnetlib/dhp/application/ArgumentApplicationParserTest.java index 19d3f76bd..f4598ebd4 100644 --- a/dhp-common/src/test/java/eu/dnetlib/dhp/application/ArgumentApplicationParserTest.java +++ b/dhp-common/src/test/java/eu/dnetlib/dhp/application/ArgumentApplicationParserTest.java @@ -3,16 +3,11 @@ package eu.dnetlib.dhp.application; import org.apache.commons.io.IOUtils; import org.junit.jupiter.api.Test; -import java.io.ByteArrayOutputStream; -import java.util.Base64; -import java.util.zip.GZIPOutputStream; - import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; public class ArgumentApplicationParserTest { - @Test public void testParseParameter() throws Exception { final String jsonConfiguration = IOUtils.toString(this.getClass().getResourceAsStream("/eu/dnetlib/application/parameters.json")); diff --git a/dhp-common/src/test/java/eu/dnetlib/dhp/model/mdstore/MetadataRecordTest.java b/dhp-common/src/test/java/eu/dnetlib/dhp/model/mdstore/MetadataRecordTest.java index 50ff0f16b..a2bac54ba 100644 --- a/dhp-common/src/test/java/eu/dnetlib/dhp/model/mdstore/MetadataRecordTest.java +++ b/dhp-common/src/test/java/eu/dnetlib/dhp/model/mdstore/MetadataRecordTest.java @@ -10,6 +10,6 @@ public class MetadataRecordTest { public void getTimestamp() { MetadataRecord r = new MetadataRecord(); - assertTrue(r.getDateOfCollection() >0); + assertTrue(r.getDateOfCollection() > 0); } } \ No newline at end of file