Skip to content

Commit c605976

Browse files
committed
Extract method.
1 parent 25e2fcb commit c605976

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/StructuredLogViewer/NodeQueryMatcher.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ public NodeQueryMatcher(string query, IEnumerable<string> stringTable)
4444
}
4545
}
4646

47+
PrecomputeMatchesInStrings(stringTable);
48+
}
49+
50+
private void PrecomputeMatchesInStrings(IEnumerable<string> stringTable)
51+
{
4752
MatchesInStrings = new HashSet<string>();
4853

4954
foreach (var stringInstance in stringTable)

0 commit comments

Comments
 (0)