From 18eddbb33b1cb43f7ea5d38e3b1b3200609693fc Mon Sep 17 00:00:00 2001 From: q3769 Date: Sun, 23 Jun 2024 11:29:28 -0500 Subject: [PATCH] + minor dep versions dump + using google style with palantir formatter --- src/test/java/elf4j/engine/SampleUsageTest.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/test/java/elf4j/engine/SampleUsageTest.java b/src/test/java/elf4j/engine/SampleUsageTest.java index deadf13..962a615 100644 --- a/src/test/java/elf4j/engine/SampleUsageTest.java +++ b/src/test/java/elf4j/engine/SampleUsageTest.java @@ -66,14 +66,12 @@ class textWithArguments { void lazyAndEagerArgumentsCanBeMixed() { info.log("Message can have any number of arguments of {} type", Object.class.getTypeName()); info.log( - "Lazy arguments, of {} type, whose values may be {} can be mixed with eager arguments of" - + " non-Supplier types", + "Lazy arguments, of {} type, whose values may be {} can be mixed with eager arguments of non-Supplier types", Supplier.class.getTypeName(), (Supplier) () -> "expensive to compute"); info.atWarn() .log( - "The Supplier downcast is mandatory per lambda syntax because arguments are declared as" - + " generic Object rather than functional interface"); + "The Supplier downcast is mandatory per lambda syntax because arguments are declared as generic Object rather than functional interface"); } } @@ -86,8 +84,7 @@ void asTheFirstArgument() { logger.atError().log(exception, "Optional log message"); logger.atInfo().log( exception, - "Exception is always the first argument to a logging method. The {} log message and following" - + " arguments work the same way {}.", + "Exception is always the first argument to a logging method. The {} log message and following arguments work the same way {}.", "optional", (Supplier) () -> "as usual"); }