From 324e8b92f1030ed8000c0d4552aa3641cf1614de Mon Sep 17 00:00:00 2001 From: Gustav Karlsson Date: Wed, 6 Dec 2023 18:04:18 +0100 Subject: [PATCH] Cleaning --- .../task/schedule/CompositeParserTest.java | 4 ++-- pom.xml | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/db-scheduler/src/test/java/com/github/kagkarlsson/scheduler/task/schedule/CompositeParserTest.java b/db-scheduler/src/test/java/com/github/kagkarlsson/scheduler/task/schedule/CompositeParserTest.java index c8c8f729..ba11c2dd 100644 --- a/db-scheduler/src/test/java/com/github/kagkarlsson/scheduler/task/schedule/CompositeParserTest.java +++ b/db-scheduler/src/test/java/com/github/kagkarlsson/scheduler/task/schedule/CompositeParserTest.java @@ -64,7 +64,7 @@ public void fails_when_one_required_delegate_fails() { @Test public void cannot_create_from_null_or_empty_list() { assertUnableToCreateParser(null); - assertUnableToCreateParser(); + assertUnableToCreateParser(new Parser[]{}); } @Test @@ -85,7 +85,7 @@ static void assertParsingResult(Schedule expected, Parser... parsers) { assertEquals(Optional.of(expected), CompositeParser.of(parsers).parse(ANY_SCHEDULE_STRING)); } - static void assertUnableToCreateParser(Parser... parsers) { + static void assertUnableToCreateParser(Parser[] parsers) { try { CompositeParser.of(parsers); fail("Should have thrown IllegalArgumentException"); diff --git a/pom.xml b/pom.xml index 9adf6b9c..a84445de 100644 --- a/pom.xml +++ b/pom.xml @@ -28,9 +28,10 @@ UTF-8 - 11 - ${jdk.version} - ${jdk.version} + + + + 11 ${project.basedir}/.license @@ -180,6 +181,12 @@ META-INF/** + + com.github.kagkarlsson:micro-jdbc:* + + META-INF/** + +