Skip to content

Commit

Permalink
reverted deprecation change since we are still using java 11, not 19
Browse files Browse the repository at this point in the history
  • Loading branch information
Orbiter committed Nov 25, 2024
1 parent 6ef3a0f commit 54fa724
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/net/yacy/kelondro/logging/ThreadDump.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ public ThreadDump(
while (tracename.length() < 20) tracename = tracename + "_";
tracename = "[" + tracename + "] ";
}
final String threadtitle = tracename + "Thread= " + thread.getName() + " " + (thread.isDaemon()?"daemon":"") + " id=" + thread.threadId() + " " + thread.getState().toString();
@SuppressWarnings("deprecation")
final String threadtitle = tracename + "Thread= " + thread.getName() + " " + (thread.isDaemon()?"daemon":"") + " id=" + thread.getId() + " " + thread.getState().toString();
String className;
boolean cutcore = true;
for (int i = 0; i < stackTraceElements.length; i++) {
Expand Down

0 comments on commit 54fa724

Please sign in to comment.