mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 15:06:56 +07:00
[searcheverywhere] Remove redundant null check
GitOrigin-RevId: 154194be770091ed4d5820e8697a5ff5e55085ff
This commit is contained in:
committed by
intellij-monorepo-bot
parent
680c9462df
commit
46b202f267
@@ -56,10 +56,6 @@ public final class RecentFilesSEContributor extends FileSearchEverywhereContribu
|
||||
public void fetchWeightedElements(@NotNull String pattern,
|
||||
@NotNull ProgressIndicator progressIndicator,
|
||||
@NotNull Processor<? super FoundItemDescriptor<Object>> consumer) {
|
||||
if (myProject == null) {
|
||||
return; //nothing to search
|
||||
}
|
||||
|
||||
String searchString = filterControlSymbols(pattern);
|
||||
boolean preferStartMatches = !searchString.startsWith("*");
|
||||
MinusculeMatcher matcher = createMatcher(searchString, preferStartMatches);
|
||||
|
||||
Reference in New Issue
Block a user