[Code Samples Inspection] Java > Declaration redundancy > Redundant 'throws' clause

This commit is contained in:
Jakub Chrzanowski 2020-04-16 11:19:26 +02:00
parent f373440332
commit 1c25c8c7b8
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ public class ComparingReferencesInspectionTest extends LightJavaCodeInsightFixtu
*
* @param testName The name of the test file before comparing references inspection.
*/
protected void doTest(@NotNull String testName) throws Throwable {
protected void doTest(@NotNull String testName) {
// Initialize the test based on the testData file
myFixture.configureByFile(testName + ".java");
// Initialize the inspection and get a list of highlighted

View File

@ -12,7 +12,7 @@ import org.jetbrains.annotations.Nullable;
public class DemoModuleBuilder extends ModuleBuilder {
@Override
public void setupRootModel(@NotNull ModifiableRootModel model) throws ConfigurationException {
public void setupRootModel(@NotNull ModifiableRootModel model) {
}

View File

@ -14,7 +14,7 @@ import org.jetbrains.annotations.NotNull;
import javax.swing.*;
public class DemoModuleWizardStep extends ModuleBuilder {
public void setupRootModel(@NotNull ModifiableRootModel modifiableRootModel) throws ConfigurationException {
public void setupRootModel(@NotNull ModifiableRootModel modifiableRootModel) {
}