mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ensure non-abstract producer don't expose ConfigurationType in constructor
plugin compatibility: Application component which is at the same time ConfigurationType would produce errors
This commit is contained in:
+1
-7
@@ -15,17 +15,11 @@
|
||||
*/
|
||||
package com.theoryinpractice.testng.configuration;
|
||||
|
||||
import com.intellij.execution.configurations.ConfigurationType;
|
||||
|
||||
//to be delete in 2018
|
||||
@Deprecated
|
||||
public class AbstractTestNGInClassConfigurationProducer extends TestNGInClassConfigurationProducer {
|
||||
public abstract class AbstractTestNGInClassConfigurationProducer extends TestNGInClassConfigurationProducer {
|
||||
@Deprecated
|
||||
public AbstractTestNGInClassConfigurationProducer() {
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public AbstractTestNGInClassConfigurationProducer(ConfigurationType configurationType) {
|
||||
super(configurationType);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-5
@@ -26,11 +26,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
public class TestNGInClassConfigurationProducer extends TestNGConfigurationProducer {
|
||||
private TestNGInClassConfigurationProducerDelegate myDelegate = new TestNGInClassConfigurationProducerDelegate(TestNGConfigurationType.getInstance());
|
||||
protected TestNGInClassConfigurationProducer() {
|
||||
this(TestNGConfigurationType.getInstance());
|
||||
}
|
||||
|
||||
protected TestNGInClassConfigurationProducer(final ConfigurationType configurationType) {
|
||||
super(configurationType);
|
||||
super(TestNGConfigurationType.getInstance());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user