diff --git a/pom.xml b/pom.xml
index 112efd5..8fa7b64 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,7 +31,7 @@
io.github.elf4j
jpl-elf4j
- 8.1.0
+ 8.2.0
jar
jpl-elf4j
Native logging service provider implementation of ELF4J (Easy Logging Facade For Java)
@@ -68,7 +68,7 @@
io.github.elf4j
elf4j-engine
- 15.1.2
+ 15.2.0
org.junit.jupiter
@@ -188,7 +188,7 @@
- 2.40.0
+ 2.43.0
true
diff --git a/src/main/java/elf4j/engine/jpl/Elf4jLogger.java b/src/main/java/elf4j/engine/jpl/Elf4jLogger.java
index ebc9ed5..29bc784 100644
--- a/src/main/java/elf4j/engine/jpl/Elf4jLogger.java
+++ b/src/main/java/elf4j/engine/jpl/Elf4jLogger.java
@@ -5,16 +5,17 @@
import java.util.Objects;
import java.util.ResourceBundle;
import java.util.function.Supplier;
+import lombok.NonNull;
import lombok.Value;
-/** */
+/** A Java 9 Logger implemented via elf4j-engine */
@Value
public class Elf4jLogger implements System.Logger {
private static final Class> SERVICE_INTERFACE_CLASS = Elf4jLogger.class;
String name;
NativeLogger nativeLogger;
- private static elf4j.Level translate(Level level) {
+ private static elf4j.Level translate(@NonNull Level level) {
switch (level) {
case INFO:
return elf4j.Level.INFO;
diff --git a/src/main/java/elf4j/engine/jpl/Elf4jLoggerFinder.java b/src/main/java/elf4j/engine/jpl/Elf4jLoggerFinder.java
index 3fc92ea..6ce95ba 100644
--- a/src/main/java/elf4j/engine/jpl/Elf4jLoggerFinder.java
+++ b/src/main/java/elf4j/engine/jpl/Elf4jLoggerFinder.java
@@ -4,13 +4,13 @@
import java.util.HashMap;
import java.util.Map;
-/** */
+/** Finds a Java 9 Logger implemented via elf4j-engine */
public class Elf4jLoggerFinder extends System.LoggerFinder {
private static final Class SERVICE_ACCESS_CLASS = System.class;
private final NativeLogServiceProvider nativeLogServiceProvider;
private final Map elf4jLoggers = new HashMap<>();
- /** Default constructor required by {@link java.util.ServiceLoader} */
+ /** A default constructor required by {@link java.util.ServiceLoader} */
public Elf4jLoggerFinder() {
this(new NativeLogServiceProvider(SERVICE_ACCESS_CLASS));
}