mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
[Code Samples Inspection] Java > Declaration redundancy > Redundant 'throws' clause
This commit is contained in:
parent
f373440332
commit
1c25c8c7b8
@ -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
|
||||
|
@ -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) {
|
||||
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user