-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to jdk17 and pom cleanup (#395)
* Set new parent (with jdk 17). * Updated CI yaml files. * Removed slf4j from dependencies. * Cleanup poms. * Bump `jackson` to `2.18.0`.
- Loading branch information
Showing
24 changed files
with
557 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!DOCTYPE suppressions PUBLIC | ||
"-//Checkstyle//DTD SuppressionFilter Configuration 1.0//EN" | ||
"https://checkstyle.org/dtds/suppressions_1_0.dtd"> | ||
|
||
|
||
<suppressions> | ||
<suppress checks="AbbreviationAsWordInName" files=".*"/> | ||
<suppress checks="MissingJavadocTypeCheck" files=".*"/> | ||
<suppress checks="MissingJavadocMethodCheck" files=".*"/> | ||
<suppress checks="MissingSwitchDefault" files=".*"/> | ||
<suppress checks="VariableDeclarationUsageDistance" files=".*"/> | ||
</suppressions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
cluster-testlib/src/test/java/io/scalecube/cluster/utils/BaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
package io.scalecube.cluster.utils; | ||
|
||
import java.lang.System.Logger; | ||
import java.lang.System.Logger.Level; | ||
import org.junit.jupiter.api.AfterEach; | ||
import org.junit.jupiter.api.BeforeEach; | ||
import org.junit.jupiter.api.TestInfo; | ||
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
|
||
/** Base test class. */ | ||
public class BaseTest { | ||
|
||
protected static final Logger LOGGER = LoggerFactory.getLogger(BaseTest.class); | ||
protected static final Logger LOGGER = System.getLogger(BaseTest.class.getName()); | ||
|
||
@BeforeEach | ||
public final void baseSetUp(TestInfo testInfo) { | ||
LOGGER.info("***** Test started : " + testInfo.getDisplayName() + " *****"); | ||
LOGGER.log(Level.INFO, "***** Test started : " + testInfo.getDisplayName() + " *****"); | ||
} | ||
|
||
@AfterEach | ||
public final void baseTearDown(TestInfo testInfo) { | ||
LOGGER.info("***** Test finished : " + testInfo.getDisplayName() + " *****"); | ||
LOGGER.log(Level.INFO, "***** Test finished : " + testInfo.getDisplayName() + " *****"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.