We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5807bb commit 2d97f19Copy full SHA for 2d97f19
vcell-util/src/main/java/org/vcell/util/VCellThreadChecker.java
@@ -66,7 +66,8 @@ public static void checkSwingInvocation() {
66
67
public static void checkCpuIntensiveInvocation() {
68
String isHeadless = System.getProperty("headless");
69
- if (isHeadless != null && !isHeadless.equals("true")){
+ boolean headlessCheck = isHeadless != null && isHeadless.equals("true");
70
+ if (!headlessCheck){
71
if (guiThreadChecker == null){
72
System.out.println("!!!!!!!!!!!!!! --VCellThreadChecker.setGUIThreadChecker() not set");
73
Thread.dumpStack();
0 commit comments