Minor: remove "? extends" when injecting iterable into java class
This commit is contained in:
@@ -472,9 +472,9 @@ public class ModifiersChecker {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private final Iterable<? extends DeclarationChecker> declarationCheckers;
|
||||
private final Iterable<DeclarationChecker> declarationCheckers;
|
||||
|
||||
public ModifiersChecker(@NotNull Iterable<? extends DeclarationChecker> declarationCheckers) {
|
||||
public ModifiersChecker(@NotNull Iterable<DeclarationChecker> declarationCheckers) {
|
||||
this.declarationCheckers = declarationCheckers;
|
||||
}
|
||||
|
||||
|
||||
@@ -48,12 +48,12 @@ import static org.jetbrains.kotlin.types.TypeUtils.*;
|
||||
|
||||
public class DataFlowAnalyzer {
|
||||
|
||||
private final Iterable<? extends AdditionalTypeChecker> additionalTypeCheckers;
|
||||
private final Iterable<AdditionalTypeChecker> additionalTypeCheckers;
|
||||
private final ConstantExpressionEvaluator constantExpressionEvaluator;
|
||||
private final KotlinBuiltIns builtIns;
|
||||
|
||||
public DataFlowAnalyzer(
|
||||
@NotNull Iterable<? extends AdditionalTypeChecker> additionalTypeCheckers,
|
||||
@NotNull Iterable<AdditionalTypeChecker> additionalTypeCheckers,
|
||||
@NotNull ConstantExpressionEvaluator constantExpressionEvaluator,
|
||||
@NotNull KotlinBuiltIns builtIns
|
||||
) {
|
||||
|
||||
+2
-2
@@ -53,7 +53,7 @@ public class ExpressionTypingComponents {
|
||||
/*package*/ ConstantExpressionEvaluator constantExpressionEvaluator;
|
||||
/*package*/ ModifiersChecker modifiersChecker;
|
||||
/*package*/ DataFlowAnalyzer dataFlowAnalyzer;
|
||||
/*package*/ Iterable<? extends CallChecker> callCheckers;
|
||||
/*package*/ Iterable<CallChecker> callCheckers;
|
||||
|
||||
@Inject
|
||||
public void setGlobalContext(@NotNull GlobalContext globalContext) {
|
||||
@@ -166,7 +166,7 @@ public class ExpressionTypingComponents {
|
||||
}
|
||||
|
||||
@Inject
|
||||
public void setCallCheckers(@NotNull Iterable<? extends CallChecker> callCheckers) {
|
||||
public void setCallCheckers(@NotNull Iterable<CallChecker> callCheckers) {
|
||||
this.callCheckers = callCheckers;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user