aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2019-08-03 22:05:14 +0100
committerLuck <git@lucko.me>2019-08-03 22:05:14 +0100
commit272d2c034502663a9810e247f115f488eb9f29a8 (patch)
treefb367dfe0d4daab36fa57bed172e7daac0835323 /spark-common/src/main/java/me/lucko/spark
parent2a03b547c7714a130b2bc1407b12a8abd58a9069 (diff)
downloadspark-272d2c034502663a9810e247f115f488eb9f29a8.tar.gz
spark-272d2c034502663a9810e247f115f488eb9f29a8.tar.bz2
spark-272d2c034502663a9810e247f115f488eb9f29a8.zip
Regex ThreadDumper should be case insensitive
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java b/spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java
index 8ae2613..e017658 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/sampler/ThreadDumper.java
@@ -115,7 +115,7 @@ public interface ThreadDumper {
this.namePatterns = namePatterns.stream()
.map(regex -> {
try {
- return Pattern.compile(regex);
+ return Pattern.compile(regex, Pattern.CASE_INSENSITIVE);
} catch (PatternSyntaxException e) {
return null;
}