mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[tests] cleanup: remove unnecessary clearField calls
This isn't needed since we call it in UsefulTestCase::tearDown. GitOrigin-RevId: 9edcc484b5adc310b73c82b4faab5bd758f509dc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7a210721b5
commit
53f05d4976
@@ -42,12 +42,7 @@ public abstract class PlatformLiteFixture extends UsefulTestCase {
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
myProject = null;
|
||||
try {
|
||||
super.tearDown();
|
||||
}
|
||||
finally {
|
||||
clearFields(this);
|
||||
}
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
protected <T> void registerExtension(@NotNull ExtensionPointName<T> extensionPointName, @NotNull T extension) {
|
||||
|
||||
@@ -277,7 +277,6 @@ public abstract class PyTestCase extends UsefulTestCase {
|
||||
}
|
||||
finally {
|
||||
super.tearDown();
|
||||
clearFields(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user