mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -32,7 +32,7 @@ public class FileContextUtil {
|
||||
private FileContextUtil() { }
|
||||
|
||||
@Nullable
|
||||
public static PsiElement getFileContext(PsiFile file) {
|
||||
public static PsiElement getFileContext(@NotNull PsiFile file) {
|
||||
SmartPsiElementPointer pointer = file.getUserData(INJECTED_IN_ELEMENT);
|
||||
return pointer == null ? null : pointer.getElement();
|
||||
}
|
||||
|
||||
@@ -146,6 +146,7 @@ public class OrderRootsEnumeratorImpl implements OrderRootsEnumerator {
|
||||
return result;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private Collection<String> computeRootsUrls() {
|
||||
final Collection<String> result = new LinkedHashSet<String>();
|
||||
myOrderEnumerator.forEach(new Processor<OrderEntry>() {
|
||||
|
||||
Reference in New Issue
Block a user