Skip to content

Commit f20b81d

Browse files
committed
servlet api added
1 parent 8b1144c commit f20b81d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# StacktraceCompacter
22
Build status: ![Java CI with Maven](https://github.com/alebastrov/StacktraceCompacter/workflows/Java%20CI%20with%20Maven/badge.svg)
33

4-
This utility class provides a way to have your stacktraces compacted (for instance all rows from hibernate will be packet into single one) so instead of this
4+
This utility class provides a way to have your stacktraces compacted (for instance all rows from hibernate will be replaced with single one) so instead of this
55
~~~
66
java.lang.IllegalArgumentException: Note
77
at com.nikondsl.utils.stacketrace.StackTraceCompacterTest.testExc(StacktraceCompacterTest.java:100)

src/main/java/com/nikondsl/utils/stacktrace/impl/StackTraceCompacter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class StackTraceCompacter {
2121

2222
private final List<ProcessorRule> allRulesToCollapse = Arrays.asList(new ProcessorRule[] {
2323
new ProcessorRule("-- Reflection", new String[] {"java.lang.reflect.", "sun.reflect.", "jdk.internal.reflect."}),
24+
new ProcessorRule("-- Servlet", new String[] {"jakarta.servlet.http."}),
2425
new ProcessorRule("-- Tomcat", new String[]{"org.apache.catalina.", "org.apache.coyote.", "org.apache.tomcat."}),
2526
new ProcessorRule("-- Websphere", new String[] {"com.ibm.ws.", "com.ibm.websphere."}),
2627
new ProcessorRule("-- Spring", "org.springframework."),

0 commit comments

Comments
 (0)