diff options
author | Luck <git@lucko.me> | 2019-08-03 22:05:14 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2019-08-03 22:05:14 +0100 |
commit | 272d2c034502663a9810e247f115f488eb9f29a8 (patch) | |
tree | fb367dfe0d4daab36fa57bed172e7daac0835323 /spark-common/src/main/java/me/lucko/spark | |
parent | 2a03b547c7714a130b2bc1407b12a8abd58a9069 (diff) | |
download | spark-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.java | 2 |
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; } |