Skip to content

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
kagkarlsson committed Dec 6, 2023
1 parent 1e5bf25 commit 324e8b9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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");
Expand Down
13 changes: 10 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.version>11</jdk.version>
<maven.compiler.source>${jdk.version}</maven.compiler.source>
<maven.compiler.target>${jdk.version}</maven.compiler.target>
<!-- <jdk.version>11</jdk.version>-->
<!-- <maven.compiler.source>${jdk.version}</maven.compiler.source>-->
<!-- <maven.compiler.target>${jdk.version}</maven.compiler.target>-->
<maven.compiler.release>11</maven.compiler.release>
<compilerArgument />
<license.dir>${project.basedir}/.license</license.dir>

Expand Down Expand Up @@ -180,6 +181,12 @@
<exclude>META-INF/**</exclude>
</excludes>
</filter>
<filter>
<artifact>com.github.kagkarlsson:micro-jdbc:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
Expand Down

0 comments on commit 324e8b9

Please sign in to comment.