This commit is contained in:
novice.li
2024-02-25 13:51:56 +08:00
parent 92b5ae69d1
commit 340f0cef1b
3 changed files with 0 additions and 6 deletions

View File

@@ -2,7 +2,6 @@ package com.novitechie;
public class StackTraceRule {
public static boolean check() {
System.out.println("------------------StackTraceRule");
RuntimeException e = new RuntimeException();
for (StackTraceElement stackTraceElement : e.getStackTrace()) {
if (stackTraceElement.getFileName() == null) {