mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
Cleanup (missing annotations)
This commit is contained in:
@@ -48,6 +48,7 @@ import com.intellij.util.ArrayUtil;
|
||||
import com.intellij.util.indexing.FileBasedIndex;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
@@ -95,7 +96,7 @@ public class UpdateCacheTest extends PsiTestCase {
|
||||
final PsiFile finalFile = file;
|
||||
file = new WriteAction<PsiFile>() {
|
||||
@Override
|
||||
protected void run(Result<PsiFile> result) throws Throwable {
|
||||
protected void run(@NotNull Result<PsiFile> result) throws Throwable {
|
||||
PsiFile res = (PsiFile)root.add(finalFile);
|
||||
result.setResult(res);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -168,7 +168,7 @@ public class LibraryTest extends ModuleRootManagerTestCase {
|
||||
LibraryTable table = getLibraryTable();
|
||||
Library library = new WriteAction<Library>() {
|
||||
@Override
|
||||
protected void run(Result<Library> result) throws Throwable {
|
||||
protected void run(@NotNull Result<Library> result) throws Throwable {
|
||||
Library res = table.createLibrary("native");
|
||||
result.setResult(res);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user