Skip to content

Commit bbe1ed2

Browse files
committed
ThreadFunctions methods can be package private
1 parent b26d0e8 commit bbe1ed2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

json-core/src/main/java/io/avaje/json/stream/core/ThreadFunctions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
final class ThreadFunctions {
44
private ThreadFunctions() {}
55

6-
public static long getId() {
6+
static long getId() {
77
return Thread.currentThread().getId();
88
}
99

10-
public static boolean isVirtual() {
10+
static boolean isVirtual() {
1111
return false;
1212
}
1313
}

json-core/src/main/java21/io/avaje/json/stream/core/ThreadFunctions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
final class ThreadFunctions {
44
private ThreadFunctions() {}
55

6-
public static long getId() {
6+
static long getId() {
77
return Thread.currentThread().threadId();
88
}
99

10-
public static boolean isVirtual() {
10+
static boolean isVirtual() {
1111
return Thread.currentThread().isVirtual();
1212
}
1313
}

0 commit comments

Comments
 (0)