Skip to content

Commit

Permalink
Simplifiy
Browse files Browse the repository at this point in the history
  • Loading branch information
henningandersen committed May 25, 2024
1 parent a6466a2 commit aec8017
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ public static String executorName(String threadName) {
}

public static String executorName(Thread thread) {
String name = thread.getName();
return executorName(name);
return executorName(thread.getName());
}

public static ThreadFactory daemonThreadFactory(Settings settings, String namePrefix) {
Expand Down

0 comments on commit aec8017

Please sign in to comment.