Minor: remove "? extends" when injecting iterable into java class

This commit is contained in:
Pavel V. Talanov
2015-07-29 16:44:57 +03:00
parent 28df61b6f1
commit 0513994749
3 changed files with 6 additions and 6 deletions
@@ -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
) {
@@ -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;
}
}