From 7ac12723db9707cefefe33a32afb9aadf041466b Mon Sep 17 00:00:00 2001 From: Ryan Stuart Date: Tue, 8 Oct 2019 14:32:00 +0100 Subject: [PATCH] Remove unused test fields and remove unused imports --- .../generator/fieldspecs/relations/AfterDateRelationTest.java | 1 - .../generator/fieldspecs/relations/BeforeDateRelationTest.java | 1 - 2 files changed, 2 deletions(-) diff --git a/generator/src/test/java/com/scottlogic/deg/generator/fieldspecs/relations/AfterDateRelationTest.java b/generator/src/test/java/com/scottlogic/deg/generator/fieldspecs/relations/AfterDateRelationTest.java index 04212e2e1..f2cab30f5 100644 --- a/generator/src/test/java/com/scottlogic/deg/generator/fieldspecs/relations/AfterDateRelationTest.java +++ b/generator/src/test/java/com/scottlogic/deg/generator/fieldspecs/relations/AfterDateRelationTest.java @@ -36,7 +36,6 @@ public class AfterDateRelationTest { private final Field a = new Field("a", Types.DATETIME, false, "", false); private final Field b = new Field("b", Types.DATETIME, false, "", false); - private final FieldSpecRelations afterDateRelations = new AfterDateRelation(a, b, true); @Test public void testReduceToFieldSpec_withNotNull_reducesToSpec() { diff --git a/generator/src/test/java/com/scottlogic/deg/generator/fieldspecs/relations/BeforeDateRelationTest.java b/generator/src/test/java/com/scottlogic/deg/generator/fieldspecs/relations/BeforeDateRelationTest.java index 55e1ac5f4..14477ebfc 100644 --- a/generator/src/test/java/com/scottlogic/deg/generator/fieldspecs/relations/BeforeDateRelationTest.java +++ b/generator/src/test/java/com/scottlogic/deg/generator/fieldspecs/relations/BeforeDateRelationTest.java @@ -29,7 +29,6 @@ import java.time.ZoneOffset; import java.time.temporal.ChronoUnit; -import static com.scottlogic.deg.common.util.Defaults.ISO_MAX_DATE; import static com.scottlogic.deg.common.util.Defaults.ISO_MIN_DATE; import static org.junit.jupiter.api.Assertions.assertEquals;