Skip to content

Commit

Permalink
+ minor dep versions dump
Browse files Browse the repository at this point in the history
+ using google style with palantir formatter
  • Loading branch information
q3769 committed Jun 23, 2024
1 parent 6edf807 commit 18eddbb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/test/java/elf4j/engine/SampleUsageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand All @@ -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");
}
Expand Down

0 comments on commit 18eddbb

Please sign in to comment.