Skip to content

Commit

Permalink
fix ci make final
Browse files Browse the repository at this point in the history
  • Loading branch information
timlueg committed Jul 28, 2024
1 parent 0fb1f4c commit f83eabc
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public TimestampFormatter createTimestampFormatter(final String pattern, final L
*
* @return Process handle of current process
*/
@IgnoreJRERequirement
private static ProcessHandle getCurrentProcess() {
try {
return ProcessHandle.current();
Expand All @@ -105,10 +106,10 @@ private static ProcessHandle getCurrentProcess() {
}

@IgnoreJRERequirement
private static class ClassNameExtractorByDepth implements Function<Stream<StackFrame>, String> {
private static final class ClassNameExtractorByDepth implements Function<Stream<StackFrame>, String> {
private final int depth;

private ClassNameExtractorByDepth(int depth) {
private ClassNameExtractorByDepth(final int depth) {
this.depth = depth;
}

Expand All @@ -118,7 +119,7 @@ public String apply(final Stream<StackFrame> frames) {
.findFirst()
.map(new Function<StackFrame, String>() {
@Override
public String apply(StackFrame stackFrame) {
public String apply(final StackFrame stackFrame) {
return stackFrame.getClassName();
}
})
Expand All @@ -130,7 +131,7 @@ public String apply(StackFrame stackFrame) {
private static final class ClassNameExtractorByLoggerClassName implements Function<Stream<StackFrame>, String> {
private final String loggerClassName;

private ClassNameExtractorByLoggerClassName(String loggerClassName) {
private ClassNameExtractorByLoggerClassName(final String loggerClassName) {
this.loggerClassName = loggerClassName;
}

Expand Down

0 comments on commit f83eabc

Please sign in to comment.