mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test fix
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ public class SmartPointerManagerImpl extends SmartPointerManager {
|
||||
public int getPointersNumber(@NotNull PsiFile containingFile) {
|
||||
synchronized (lock) {
|
||||
List<SmartPointerEx> pointers = getPointers(containingFile);
|
||||
return pointers == null ? 0 : pointers.size();
|
||||
return pointers == null ? 0 : ((UnsafeWeakList)pointers).toStrongList().size();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user