Skip to content

Commit

Permalink
+ elf4j-engine version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
q3769 committed Feb 19, 2024
1 parent 783f3b2 commit 0c0dfad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
11 changes: 7 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<groupId>io.github.elf4j</groupId>
<artifactId>jpl-elf4j</artifactId>
<version>8.0.0</version>
<version>8.1.0</version>
<packaging>jar</packaging>
<name>jpl-elf4j</name>
<description>Native logging service provider implementation of ELF4J (Easy Logging Facade For Java)
Expand Down Expand Up @@ -68,7 +68,7 @@
<dependency>
<groupId>io.github.elf4j</groupId>
<artifactId>elf4j-engine</artifactId>
<version>15.0.0</version>
<version>15.1.2</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down Expand Up @@ -175,7 +175,7 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.41.1</version>
<version>2.43.0</version>
<executions>
<execution>
<id>spotless-apply-id</id>
Expand All @@ -188,7 +188,10 @@
<configuration>
<java>
<palantirJavaFormat>
<version>2.39.0</version>
<version>2.40.0</version> <!-- optional -->
<style>PALANTIR</style> <!-- or AOSP/GOOGLE (optional) -->
<formatJavadoc>true
</formatJavadoc> <!-- defaults to false (optional, requires at least Palantir 2.39.0) -->
</palantirJavaFormat>
<formatAnnotations/>
</java>
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/elf4j/engine/jpl/Elf4jLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
import java.util.function.Supplier;
import lombok.Value;

/**
*
*/
/** */
@Value
public class Elf4jLogger implements System.Logger {
private static final Class<?> SERVICE_INTERFACE_CLASS = Elf4jLogger.class;
Expand Down
8 changes: 2 additions & 6 deletions src/main/java/elf4j/engine/jpl/Elf4jLoggerFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@
import java.util.HashMap;
import java.util.Map;

/**
*
*/
/** */
public class Elf4jLoggerFinder extends System.LoggerFinder {
private static final Class<System> SERVICE_ACCESS_CLASS = System.class;
private final NativeLogServiceProvider nativeLogServiceProvider;
private final Map<String, Elf4jLogger> elf4jLoggers = new HashMap<>();

/**
* Default constructor required by {@link java.util.ServiceLoader}
*/
/** Default constructor required by {@link java.util.ServiceLoader} */
public Elf4jLoggerFinder() {
this(new NativeLogServiceProvider(SERVICE_ACCESS_CLASS));
}
Expand Down

0 comments on commit 0c0dfad

Please sign in to comment.