See gh-17413
This commit is contained in:
Johnny Lim
2019-07-03 10:10:01 +09:00
committed by Stephane Nicoll
parent 939a247d87
commit 426ef749db
10 changed files with 19 additions and 18 deletions

View File

@@ -46,7 +46,7 @@ public final class DevToolsEnablementDeducer {
* Checks if a specific {@link StackTraceElement} in the current thread's stacktrace
* should cause devtools to be disabled.
* @param thread the current thread
* @return {@code true} if devtools should be enabled skipped
* @return {@code true} if devtools should be enabled
*/
public static boolean shouldEnable(Thread thread) {
for (StackTraceElement element : thread.getStackTrace()) {