Delete unused code
This commit is contained in:
parent
4d5e235166
commit
e51c71bcd6
|
|
@ -25,8 +25,6 @@ import java.util.Collections;
|
|||
import java.util.List;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.reactivestreams.Subscription;
|
||||
import reactor.core.publisher.BaseSubscriber;
|
||||
import reactor.core.publisher.Flux;
|
||||
import reactor.test.StepVerifier;
|
||||
|
||||
|
|
@ -268,13 +266,4 @@ class StringDecoderTests extends AbstractDecoderTests<StringDecoder> {
|
|||
return buffer;
|
||||
}
|
||||
|
||||
|
||||
private static class SingleRequestSubscriber extends BaseSubscriber<String> {
|
||||
|
||||
@Override
|
||||
protected void hookOnSubscribe(Subscription subscription) {
|
||||
subscription.request(1);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -199,8 +199,7 @@ public class FunctionReference extends SpelNodeImpl {
|
|||
varArgPosition = declaredParamCount - 1;
|
||||
}
|
||||
TypeConverter converter = state.getEvaluationContext().getTypeConverter();
|
||||
boolean conversionOccurred = ReflectionHelper.convertAllMethodHandleArguments(converter,
|
||||
functionArgs, methodHandle, varArgPosition);
|
||||
ReflectionHelper.convertAllMethodHandleArguments(converter, functionArgs, methodHandle, varArgPosition);
|
||||
|
||||
if (isSuspectedVarargs && declaredParamCount == 1) {
|
||||
//we only repack the varargs if it is the ONLY argument
|
||||
|
|
|
|||
Loading…
Reference in New Issue