mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
RUBY-6798 undefined method `get_name' for nil:NilClass - match :to call
This commit is contained in:
@@ -1194,7 +1194,8 @@ public abstract class ChooseByNameBase {
|
||||
if (myCancelled) {
|
||||
throw new ProcessCanceledException();
|
||||
}
|
||||
Collections.sort(namesList, new MatchesComparator(pattern));
|
||||
// Here we sort using namePattern to have similar logic with empty qualified patten case
|
||||
Collections.sort(namesList, new MatchesComparator(namePattern));
|
||||
|
||||
boolean overflow = false;
|
||||
List<Object> sameNameElements = new SmartList<Object>();
|
||||
|
||||
Reference in New Issue
Block a user