diff --git a/gradle.properties b/gradle.properties index e50e3f64..407377f5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,8 +24,8 @@ junitVersion = 4.12 junitJupiterVersion = 5.0.1 junitVintageVersion = 4.12.1 junitPlatformVersion = 1.0.1 -slf4jVersion = 1.7.30 +slf4jVersion = 1.7.36 logstashVersion = 6.3 -logbackVersion = 1.2.3 +logbackVersion = 1.2.10 configVersion = 1.4.0 zstdVersion = 1.4.0-1 diff --git a/logback-classic/src/main/java/com/tersesystems/logback/classic/StartTime.java b/logback-classic/src/main/java/com/tersesystems/logback/classic/StartTime.java index 077d1b17..edf4c75e 100644 --- a/logback-classic/src/main/java/com/tersesystems/logback/classic/StartTime.java +++ b/logback-classic/src/main/java/com/tersesystems/logback/classic/StartTime.java @@ -14,16 +14,12 @@ import ch.qos.logback.core.Context; import ch.qos.logback.core.spi.ContextAware; import com.tersesystems.logback.core.ComponentContainer; - import java.time.Instant; import java.util.Iterator; import java.util.Optional; - import org.slf4j.Marker; -/** - * This class pulls an Instant from a StartTimeSupplier. - */ +/** This class pulls an Instant from a StartTimeSupplier. */ public final class StartTime { /** @@ -31,7 +27,7 @@ public final class StartTime { * event's timestamp as the marker. * * @param context the logging context - * @param event the logging event + * @param event the logging event * @return an instant representing the start time. */ public static Instant from(Context context, ILoggingEvent event) { @@ -58,6 +54,7 @@ public static Optional fromOptional(Context context, ILoggingEvent even /** * Looks for a StartTimeMarker in the marker and in all the children of the marker. + * * @param context the logback context * @param m the logback marker * @return an optional start time. diff --git a/logback-exception-mapping/src/main/java/com/tersesystems/logback/exceptionmapping/ExceptionMessageWithMappingsConverter.java b/logback-exception-mapping/src/main/java/com/tersesystems/logback/exceptionmapping/ExceptionMessageWithMappingsConverter.java index e5a0020c..0e631c2b 100644 --- a/logback-exception-mapping/src/main/java/com/tersesystems/logback/exceptionmapping/ExceptionMessageWithMappingsConverter.java +++ b/logback-exception-mapping/src/main/java/com/tersesystems/logback/exceptionmapping/ExceptionMessageWithMappingsConverter.java @@ -93,6 +93,5 @@ public void write(ExceptionProperty exceptionProperty) { sb.append("\""); } } - } - ; + }; } diff --git a/logback-honeycomb-playws_2.12/src/main/java/com/tersesystems/logback/honeycomb/playws/HoneycombPlayWSClient.java b/logback-honeycomb-playws_2.12/src/main/java/com/tersesystems/logback/honeycomb/playws/HoneycombPlayWSClient.java index f630d1a6..0918662b 100644 --- a/logback-honeycomb-playws_2.12/src/main/java/com/tersesystems/logback/honeycomb/playws/HoneycombPlayWSClient.java +++ b/logback-honeycomb-playws_2.12/src/main/java/com/tersesystems/logback/honeycomb/playws/HoneycombPlayWSClient.java @@ -62,8 +62,7 @@ public HoneycombPlayWSClient( @Override public CompletionStage post(HoneycombRequest request) { return post(request, this.defaultEncodeFunction); - } - ; + }; @Override public CompletionStage post( diff --git a/logback-ringbuffer/src/main/java/com/tersesystems/logback/ringbuffer/RingBuffer.java b/logback-ringbuffer/src/main/java/com/tersesystems/logback/ringbuffer/RingBuffer.java index 4f2bebaf..d024bc26 100644 --- a/logback-ringbuffer/src/main/java/com/tersesystems/logback/ringbuffer/RingBuffer.java +++ b/logback-ringbuffer/src/main/java/com/tersesystems/logback/ringbuffer/RingBuffer.java @@ -185,7 +185,7 @@ interface ExitCondition { *

WARNING: Explicit assumptions are made with regards to {@link Consumer#accept} make * sure you have read and understood these before using this method. * - * @param c the consumer + * @param c the consumer * @param limit the limit * @return the number of polled elements * @throws IllegalArgumentException c is {@code null} @@ -206,7 +206,7 @@ interface ExitCondition { *

WARNING: Explicit assumptions are made with regards to {@link Supplier#get} make sure * you have read and understood these before using this method. * - * @param s the supplier + * @param s the supplier * @param limit the limit * @return the number of offered elements * @throws IllegalArgumentException s is {@code null} @@ -279,7 +279,7 @@ interface ExitCondition { *

WARNING: Explicit assumptions are made with regards to {@link Consumer#accept} make * sure you have read and understood these before using this method. * - * @param c the consumer + * @param c the consumer * @param wait the wait strategy * @param exit the exit condition * @throws IllegalArgumentException c OR wait OR exit are {@code null} @@ -310,7 +310,7 @@ interface ExitCondition { *

WARNING: Explicit assumptions are made with regards to {@link Supplier#get} make sure * you have read and understood these before using this method. * - * @param s the supplier + * @param s the supplier * @param wait the wait strategy * @param exit the exit condition * @throws IllegalArgumentException s OR wait OR exit are {@code null}