Skip to content

Commit

Permalink
fix: fix NPE crash of search thread
Browse files Browse the repository at this point in the history
  • Loading branch information
StarkZhidian committed Mar 12, 2024
1 parent 2905f23 commit b32ef7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ public void run() {
localThread = Thread.currentThread();
var results = new LongArrayList();
var textLength = text.length();
var ignoreCase = searchOptions.caseInsensitive;
var ignoreCase = options.caseInsensitive;
var pattern = this.pattern;
switch (options.type) {
case SearchOptions.TYPE_NORMAL: {
Expand Down

0 comments on commit b32ef7f

Please sign in to comment.