From 8d6d99731f0df81ffc0a2c871311aacaba02fc22 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 23 May 2023 15:09:38 +0200 Subject: [PATCH] Delete unused code --- .../core/codec/StringDecoderTests.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/spring-core/src/test/java/org/springframework/core/codec/StringDecoderTests.java b/spring-core/src/test/java/org/springframework/core/codec/StringDecoderTests.java index e5593a7be8..df83b60f42 100644 --- a/spring-core/src/test/java/org/springframework/core/codec/StringDecoderTests.java +++ b/spring-core/src/test/java/org/springframework/core/codec/StringDecoderTests.java @@ -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 { return buffer; } - - private static class SingleRequestSubscriber extends BaseSubscriber { - - @Override - protected void hookOnSubscribe(Subscription subscription) { - subscription.request(1); - } - } - }