mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 09:47:50 +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.
|
* @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
|
// Initialize the test based on the testData file
|
||||||
myFixture.configureByFile(testName + ".java");
|
myFixture.configureByFile(testName + ".java");
|
||||||
// Initialize the inspection and get a list of highlighted
|
// Initialize the inspection and get a list of highlighted
|
||||||
|
@ -12,7 +12,7 @@ import org.jetbrains.annotations.Nullable;
|
|||||||
|
|
||||||
public class DemoModuleBuilder extends ModuleBuilder {
|
public class DemoModuleBuilder extends ModuleBuilder {
|
||||||
@Override
|
@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.*;
|
import javax.swing.*;
|
||||||
|
|
||||||
public class DemoModuleWizardStep extends ModuleBuilder {
|
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