mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove redundant throws
This commit is contained in:
+2
-2
@@ -208,9 +208,9 @@ public interface CodeInsightTestFixture extends IdeaProjectTestFixture {
|
||||
*/
|
||||
void launchAction(@NotNull IntentionAction action) throws Exception;
|
||||
|
||||
void configureByFile(@TestDataFile @NonNls String file) throws Exception;
|
||||
void configureByFile(@TestDataFile @NonNls String file);
|
||||
|
||||
void configureByFiles(@NonNls String... files) throws Exception;
|
||||
void configureByFiles(@NonNls String... files);
|
||||
|
||||
PsiFile configureByText(FileType fileType, @NonNls String text) throws IOException;
|
||||
|
||||
|
||||
+2
-2
@@ -914,7 +914,7 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig
|
||||
return configureByFileInner(filePaths[0]);
|
||||
}
|
||||
|
||||
public void configureByFile(final String file) throws IOException {
|
||||
public void configureByFile(final String file) {
|
||||
assertInitialized();
|
||||
new WriteCommandAction.Simple(getProject()) {
|
||||
protected void run() throws Exception {
|
||||
@@ -923,7 +923,7 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig
|
||||
}.execute();
|
||||
}
|
||||
|
||||
public void configureByFiles(@NonNls final String... files) throws Exception {
|
||||
public void configureByFiles(@NonNls final String... files) {
|
||||
new WriteCommandAction.Simple(getProject()) {
|
||||
protected void run() throws Exception {
|
||||
configureByFilesInner(files);
|
||||
|
||||
Reference in New Issue
Block a user