Skip to content

Commit 879ba0f

Browse files
committed
add comment
1 parent 65f71a5 commit 879ba0f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/util/ThreadUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ private ThreadUtil() {
3131
}
3232

3333
/**
34+
* Retrieve thread ID, preferring the non-deprecated <code>threadId</code> method.
35+
* This can be replaced with direct call after target Java version is switched to Java 21 or higher.
3436
* @param thread thread object
3537
* @return thread id
3638
*/

suggester/src/main/java/org/opengrok/suggest/util/ThreadUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ private ThreadUtil() {
3131
}
3232

3333
/**
34+
* Retrieve thread ID, preferring the non-deprecated <code>threadId</code> method.
35+
* This can be replaced with direct call after target Java version is switched to Java 21 or higher.
3436
* @param thread thread object
3537
* @return thread id
3638
*/

0 commit comments

Comments
 (0)