Skip to content

Commit 4b7db3c

Browse files
committed
Make function static
1 parent 3f45c6a commit 4b7db3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/StringMatcher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public MatchResult FuzzyMatch(string query, string stringToCompare, MatchOption
228228
return new MatchResult(false, UserSettingSearchPrecision);
229229
}
230230

231-
private bool IsAcronym(string stringToCompare, int compareStringIndex)
231+
private static bool IsAcronym(string stringToCompare, int compareStringIndex)
232232
{
233233
if (IsAcronymChar(stringToCompare, compareStringIndex) || IsAcronymNumber(stringToCompare, compareStringIndex))
234234
return true;
@@ -237,7 +237,7 @@ private bool IsAcronym(string stringToCompare, int compareStringIndex)
237237
}
238238

239239
// When counting acronyms, treat a set of numbers as one acronym ie. Visual 2019 as 2 acronyms instead of 5
240-
private bool IsAcronymCount(string stringToCompare, int compareStringIndex)
240+
private static bool IsAcronymCount(string stringToCompare, int compareStringIndex)
241241
{
242242
if (IsAcronymChar(stringToCompare, compareStringIndex))
243243
return true;

0 commit comments

Comments
 (0)