language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/SseIntegrationTests.java
@@ -22,7 +22,6 @@ import org.junit.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import reactor.test.TestSubscriber; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.Bean; @@ -32,6 +31,7 @@ import org...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/view/HttpMessageWriterViewTests.java
@@ -28,7 +28,6 @@ import org.junit.Before; import org.junit.Test; -import reactor.test.TestSubscriber; import org.springframework.core.MethodParameter; import org.springframework.core.codec.CharSequenceEncoder; @@ -39,6 +38,7 @@ import org.springframework.http.codec.xml.Jaxb2XmlEncoder; import org.springframe...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/view/ViewResolutionResultHandlerTests.java
@@ -32,7 +32,6 @@ import org.junit.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import reactor.test.TestSubscriber; import rx.Completable; import rx.Single; @@ -47,6 +46,7 @@ import org.springframework.http.server.reactive.MockServerHttpRequest; import org.springframework.http...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/view/freemarker/FreeMarkerViewTests.java
@@ -25,7 +25,6 @@ import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; -import reactor.test.TestSubscriber; import org.springframework.context.ApplicationContextException; import org.springframework.context.support.GenericApplicationContext; @@ -36,6 +35,7 @@ import org.spring...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/http/codec/SseEventHttpMessageWriterTests.java
@@ -22,14 +22,14 @@ import org.reactivestreams.Publisher; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import reactor.test.TestSubscriber; import org.springframework.core.ResolvableType; import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase; import org.spring...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/http/codec/json/Jackson2JsonDecoderTests.java
@@ -24,13 +24,13 @@ import org.junit.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import reactor.test.TestSubscriber; import org.springframework.core.ResolvableType; import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase; import org.springframework.core....
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/http/codec/json/Jackson2JsonEncoderTests.java
@@ -22,13 +22,13 @@ import org.junit.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import reactor.test.TestSubscriber; import org.springframework.core.ResolvableType; import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase; import org.springframework.core....
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/http/codec/json/JsonObjectDecoderTests.java
@@ -20,10 +20,10 @@ import org.junit.Test; import reactor.core.publisher.Flux; -import reactor.test.TestSubscriber; import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase; import org.springframework.core.io.buffer.DataBuffer; +import org.springframework.tests.TestSubscriber; /** * @...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/http/codec/xml/Jaxb2XmlDecoderTests.java
@@ -22,7 +22,6 @@ import org.junit.Test; import reactor.core.publisher.Flux; -import reactor.test.TestSubscriber; import org.springframework.core.ResolvableType; import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase; @@ -35,6 +34,7 @@ import org.springframework.http.codec.xml.jaxb.XmlT...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/http/codec/xml/Jaxb2XmlEncoderTests.java
@@ -20,7 +20,6 @@ import org.junit.Test; import reactor.core.publisher.Flux; -import reactor.test.TestSubscriber; import org.springframework.core.ResolvableType; import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase; @@ -29,6 +28,7 @@ import org.springframework.core.io.buffer.support.D...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/http/codec/xml/XmlEventDecoderTests.java
@@ -20,9 +20,9 @@ import org.junit.Test; import reactor.core.publisher.Flux; -import reactor.test.TestSubscriber; import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase; +import org.springframework.tests.TestSubscriber; import static org.junit.Assert.assertEquals; import static org.ju...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/http/server/reactive/FlushingIntegrationTests.java
@@ -21,10 +21,10 @@ import org.reactivestreams.Publisher; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import reactor.test.TestSubscriber; import org.springframework.core.io.buffer.DataBuffer; import org.springframework.http.client.reactive.ReactorClientHttpConnector; +import org.spri...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/web/client/reactive/DefaultResponseErrorHandlerTests.java
@@ -6,7 +6,6 @@ import org.junit.Before; import org.junit.Test; import reactor.core.publisher.Flux; -import reactor.test.TestSubscriber; import org.springframework.core.codec.StringDecoder; import org.springframework.core.io.buffer.DataBuffer; @@ -17,6 +16,7 @@ import org.springframework.http.client.reactive.Cl...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/web/client/reactive/ResponseExtractorsTests.java
@@ -25,7 +25,6 @@ import reactor.core.Exceptions; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import reactor.test.TestSubscriber; import org.springframework.core.codec.StringDecoder; import org.springframework.core.io.buffer.DataBuffer; @@ -38,6 +37,7 @@ import org.springframework.h...
true
Other
spring-projects
spring-framework
5531e807248e3155e7509bea9c1adcc58592157e.json
Anticipate reactor.test.TestSubscriber removal reactor.test.TestSubscriber will not be part of Reactor Core 3.0.0 since it needs to be refactored to fit all the needs expressed by the users. It is likely to be back later in one of the Reactor Core 3.0.x releases. This commit anticipate this removal by temporarily cop...
spring-web/src/test/java/org/springframework/web/client/reactive/WebClientIntegrationTests.java
@@ -33,13 +33,13 @@ import org.junit.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import reactor.test.TestSubscriber; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframew...
true
Other
spring-projects
spring-framework
460ed307ed4177834db1c81647ccf63430955a65.json
Shorten getter for ReactiveAdapterRegistry
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/ContentNegotiatingResultHandlerSupport.java
@@ -67,7 +67,7 @@ protected ContentNegotiatingResultHandlerSupport(RequestedContentTypeResolver co /** * Return the configured {@link ReactiveAdapterRegistry}. */ - public ReactiveAdapterRegistry getReactiveAdapterRegistry() { + public ReactiveAdapterRegistry getAdapterRegistry() { return this.adapterRegistr...
true
Other
spring-projects
spring-framework
460ed307ed4177834db1c81647ccf63430955a65.json
Shorten getter for ReactiveAdapterRegistry
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageReaderArgumentResolver.java
@@ -106,7 +106,7 @@ public List<HttpMessageReader<?>> getMessageReaders() { /** * Return the configured {@link ReactiveAdapterRegistry}. */ - public ReactiveAdapterRegistry getReactiveAdapterRegistry() { + public ReactiveAdapterRegistry getAdapterRegistry() { return this.adapterRegistry; } @@ -115,7 +115...
true
Other
spring-projects
spring-framework
460ed307ed4177834db1c81647ccf63430955a65.json
Shorten getter for ReactiveAdapterRegistry
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageWriterResultHandler.java
@@ -91,7 +91,7 @@ public List<HttpMessageWriter<?>> getMessageWriters() { protected Mono<Void> writeBody(Object body, MethodParameter bodyType, ServerWebExchange exchange) { Class<?> bodyClass = bodyType.getParameterType(); - ReactiveAdapter adapter = getReactiveAdapterRegistry().getAdapterFrom(bodyClass, body)...
true
Other
spring-projects
spring-framework
460ed307ed4177834db1c81647ccf63430955a65.json
Shorten getter for ReactiveAdapterRegistry
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandler.java
@@ -103,8 +103,7 @@ private boolean isHttpEntityType(HandlerResult result) { return true; } else { - Optional<Object> optional = result.getReturnValue(); - ReactiveAdapter adapter = getReactiveAdapterRegistry().getAdapterFrom(rawClass, optional); + ReactiveAdapter adapter = getAdapterRegistry().getAdapt...
true
Other
spring-projects
spring-framework
460ed307ed4177834db1c81647ccf63430955a65.json
Shorten getter for ReactiveAdapterRegistry
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandler.java
@@ -85,8 +85,7 @@ public boolean supports(HandlerResult result) { return true; } else { - Optional<Object> optional = result.getReturnValue(); - ReactiveAdapter adapter = getReactiveAdapterRegistry().getAdapterFrom(returnType, optional); + ReactiveAdapter adapter = getAdapterRegistry().getAdapterFrom(re...
true
Other
spring-projects
spring-framework
460ed307ed4177834db1c81647ccf63430955a65.json
Shorten getter for ReactiveAdapterRegistry
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/view/ViewResolutionResultHandler.java
@@ -143,7 +143,7 @@ public boolean supports(HandlerResult result) { return true; } Optional<Object> optional = result.getReturnValue(); - ReactiveAdapter adapter = getReactiveAdapterRegistry().getAdapterFrom(clazz, optional); + ReactiveAdapter adapter = getAdapterRegistry().getAdapterFrom(clazz, optional); ...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageWriterResultHandler.java
@@ -97,7 +97,9 @@ protected Mono<Void> writeBody(Object body, MethodParameter bodyType, ServerWebE ResolvableType elementType; if (adapter != null) { publisher = adapter.toPublisher(body); - elementType = ResolvableType.forMethodParameter(bodyType).getGeneric(0); + elementType = adapter.getDescriptor().is...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandler.java
@@ -17,10 +17,12 @@ package org.springframework.web.reactive.result.method.annotation; import java.util.List; +import java.util.Optional; import reactor.core.publisher.Mono; import org.springframework.core.MethodParameter; +import org.springframework.core.ReactiveAdapter; import org.springframework.core.Reac...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandler.java
@@ -85,9 +85,12 @@ public boolean supports(HandlerResult result) { return true; } else { - Optional<Object> returnValue = result.getReturnValue(); - ReactiveAdapter adapter = getReactiveAdapterRegistry().getAdapterFrom(returnType, returnValue); - if (adapter != null && !adapter.getDescriptor().isMultiVa...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/view/ViewResolutionResultHandler.java
@@ -142,12 +142,19 @@ public boolean supports(HandlerResult result) { if (hasModelAttributeAnnotation(result)) { return true; } - if (isSupportedType(clazz)) { - return true; + Optional<Object> optional = result.getReturnValue(); + ReactiveAdapter adapter = getReactiveAdapterRegistry().getAdapterFrom(cla...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/MessageWriterResultHandlerTests.java
@@ -34,6 +34,7 @@ import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import reactor.test.TestSubscriber; +import rx.Completable; import rx.Observable; import org.springframework.core.MethodParameter; @@ -110,6 +111,7 @@ public void useDefaultCharset() throws Exception { public void voidRet...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingMessageConversionIntegrationTests.java
@@ -28,6 +28,7 @@ import org.reactivestreams.Publisher; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; +import rx.Completable; import rx.Observable; import rx.Single; @@ -54,9 +55,10 @@ import org.springframework.web.bind.annotation.RestController; import org.springframework.web.reacti...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandlerTests.java
@@ -24,6 +24,8 @@ import org.junit.Before; import org.junit.Test; import reactor.core.publisher.Mono; +import rx.Completable; +import rx.Single; import org.springframework.core.codec.ByteBufferEncoder; import org.springframework.core.codec.CharSequenceEncoder; @@ -50,7 +52,7 @@ import org.springframework.web.se...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandlerTests.java
@@ -28,6 +28,7 @@ import org.junit.Test; import reactor.core.publisher.Mono; import reactor.test.TestSubscriber; +import rx.Completable; import rx.Single; import org.springframework.core.MethodParameter; @@ -117,8 +118,13 @@ public void supports() throws NoSuchMethodException { type = forClassWithGenerics(Com...
true
Other
spring-projects
spring-framework
143b5c89dd7c9e9d603ccb289943ae45e262c8c5.json
Add support for rx.Completable as return value
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/view/ViewResolutionResultHandlerTests.java
@@ -33,6 +33,7 @@ import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import reactor.test.TestSubscriber; +import rx.Completable; import rx.Single; import org.springframework.core.MethodParameter; @@ -98,6 +99,8 @@ public void supports() throws Exception { testSupports(ResolvableType.forCl...
true
Other
spring-projects
spring-framework
3ab21741f9926ee59b64e147de59c077e55b3dca.json
Use Jetty again in SseIntegrationTests
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/SseIntegrationTests.java
@@ -32,15 +32,13 @@ import org.springframework.http.codec.SseEvent; import org.springframework.http.server.reactive.AbstractHttpHandlerIntegrationTests; import org.springframework.http.server.reactive.HttpHandler; -import org.springframework.http.server.reactive.bootstrap.JettyHttpServer; import org.springframework...
false
Other
spring-projects
spring-framework
2a3e62ddfc9021a9b8340349bd678c25dfd39e7c.json
Delete unused imports in spring-test
spring-test/src/test/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilderTests.java
@@ -19,7 +19,6 @@ import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; -import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.security.Principal; import java.util.Arrays;
false
Other
spring-projects
spring-framework
76aa7b1cd96124762750bde93802bb477524a3b6.json
Delete unused imports in spring-web
spring-web/src/main/java/org/springframework/http/codec/HttpMessageReader.java
@@ -18,14 +18,12 @@ import java.util.List; -import org.reactivestreams.Publisher; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import org.springframework.core.ResolvableType; import org.springframework.http.MediaType; import org.springframework.http.ReactiveHttpInputMessage; -impo...
true
Other
spring-projects
spring-framework
76aa7b1cd96124762750bde93802bb477524a3b6.json
Delete unused imports in spring-web
spring-web/src/test/java/org/springframework/http/RequestEntityTests.java
@@ -18,7 +18,6 @@ import java.net.URI; import java.net.URISyntaxException; -import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.HashMap;
true
Other
spring-projects
spring-framework
76aa7b1cd96124762750bde93802bb477524a3b6.json
Delete unused imports in spring-web
spring-web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTests.java
@@ -19,7 +19,6 @@ import java.io.IOException; import java.io.InputStreamReader; import java.io.StringReader; -import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.stream.XMLStreamException;
true
Other
spring-projects
spring-framework
76aa7b1cd96124762750bde93802bb477524a3b6.json
Delete unused imports in spring-web
spring-web/src/test/java/org/springframework/http/server/reactive/FlushingIntegrationTests.java
@@ -25,13 +25,10 @@ import org.springframework.core.io.buffer.DataBuffer; import org.springframework.http.client.reactive.ReactorClientHttpConnector; -import org.springframework.http.server.reactive.bootstrap.ReactorHttpServer; import org.springframework.web.client.reactive.ClientWebRequestBuilders; import org.sp...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/config/WebReactiveConfiguration.java
@@ -43,12 +43,12 @@ import org.springframework.http.codec.json.JacksonJsonEncoder; import org.springframework.http.codec.xml.Jaxb2Decoder; import org.springframework.http.codec.xml.Jaxb2Encoder; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.http.converter.r...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageReaderArgumentResolver.java
@@ -30,7 +30,7 @@ import org.springframework.core.ResolvableType; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.http.MediaType; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; import org.springf...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageWriterResultHandler.java
@@ -26,7 +26,7 @@ import org.springframework.core.ReactiveAdapterRegistry; import org.springframework.core.ResolvableType; import org.springframework.http.MediaType; -import org.springframework.http.converter.reactive.HttpMessageWriter; +import org.springframework.http.codec.HttpMessageWriter; import org.springfram...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/HttpEntityArgumentResolver.java
@@ -25,7 +25,7 @@ import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.RequestEntity; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; import org.springframework.http.s...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolver.java
@@ -22,7 +22,7 @@ import org.springframework.core.MethodParameter; import org.springframework.core.ReactiveAdapterRegistry; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; import org.springframework.ui.ModelMap; import org.springfram...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/RequestMappingHandlerAdapter.java
@@ -36,8 +36,8 @@ import org.springframework.core.codec.StringDecoder; import org.springframework.core.convert.ConversionService; import org.springframework.format.support.DefaultFormattingConversionService; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.htt...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandler.java
@@ -25,7 +25,7 @@ import org.springframework.core.ResolvableType; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.http.HttpEntity; -import org.springframework.http.converter.reactive.HttpMessageWriter; +import org.springframework.http.codec.HttpMessageWriter; import org.spring...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandler.java
@@ -28,7 +28,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.RequestEntity; import org.springframework.http.ResponseEntity; -import org.springframework.http.converter.reactive.HttpMessageWriter; +import org.springframework.http.codec.HttpMessageWriter; import org.springframework.ut...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/main/java/org/springframework/web/reactive/result/view/HttpMessageWriterView.java
@@ -27,8 +27,8 @@ import org.springframework.core.ResolvableType; import org.springframework.core.codec.Encoder; import org.springframework.http.MediaType; -import org.springframework.http.converter.reactive.EncoderHttpMessageWriter; -import org.springframework.http.converter.reactive.HttpMessageWriter; +import org....
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/test/java/org/springframework/web/reactive/DispatcherHandlerErrorTests.java
@@ -35,7 +35,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; -import org.springframework.http.converter.reactive.EncoderHttpMessageWriter; +import org.springframework.http.codec.EncoderHttpMessageWriter; import org.springframewo...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/test/java/org/springframework/web/reactive/config/WebReactiveConfigurationTests.java
@@ -44,10 +44,10 @@ import org.springframework.http.codec.json.JacksonJsonEncoder; import org.springframework.http.codec.xml.Jaxb2Decoder; import org.springframework.http.codec.xml.Jaxb2Encoder; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.http.converter.r...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/HttpEntityArgumentResolverTests.java
@@ -41,8 +41,8 @@ import org.springframework.http.HttpMethod; import org.springframework.http.MediaType; import org.springframework.http.RequestEntity; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.spri...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/MessageReaderArgumentResolverTests.java
@@ -47,8 +47,8 @@ import org.springframework.http.HttpMethod; import org.springframework.http.MediaType; import org.springframework.http.codec.json.JacksonJsonDecoder; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.http.converter.reactive.HttpMessageReader; ...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/MessageWriterResultHandlerTests.java
@@ -46,9 +46,9 @@ import org.springframework.http.HttpMethod; import org.springframework.http.codec.json.JacksonJsonEncoder; import org.springframework.http.codec.xml.Jaxb2Encoder; -import org.springframework.http.converter.reactive.EncoderHttpMessageWriter; -import org.springframework.http.converter.reactive.HttpMe...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolverTests.java
@@ -40,8 +40,8 @@ import org.springframework.core.io.buffer.DataBuffer; import org.springframework.core.io.buffer.DefaultDataBufferFactory; import org.springframework.http.HttpMethod; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.http.converter.reactive.Htt...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandlerTests.java
@@ -31,9 +31,9 @@ import org.springframework.http.ResponseEntity; import org.springframework.http.codec.json.JacksonJsonEncoder; import org.springframework.http.codec.xml.Jaxb2Encoder; -import org.springframework.http.converter.reactive.EncoderHttpMessageWriter; -import org.springframework.http.converter.reactive.Ht...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandlerTests.java
@@ -40,9 +40,9 @@ import org.springframework.http.ResponseEntity; import org.springframework.http.codec.json.JacksonJsonEncoder; import org.springframework.http.codec.xml.Jaxb2Encoder; -import org.springframework.http.converter.reactive.EncoderHttpMessageWriter; -import org.springframework.http.converter.reactive.Ht...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/codec/DecoderHttpMessageReader.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.converter.reactive; +package org.springframework.http.codec; import java.util.Collections; import java.util.List;
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/codec/EncoderHttpMessageWriter.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.converter.reactive; +package org.springframework.http.codec; import java.util.Collections; import java.util.List;
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/codec/HttpMessageReader.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.converter.reactive; +package org.springframework.http.codec; import java.util.List;
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/codec/HttpMessageWriter.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.converter.reactive; +package org.springframework.http.codec; import java.util.List;
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/codec/ResourceHttpMessageWriter.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.converter.reactive; +package org.springframework.http.codec; import java.io.File; import java.io.IOException;
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/codec/SseEvent.java
@@ -17,7 +17,6 @@ package org.springframework.http.codec; import org.springframework.http.MediaType; -import org.springframework.http.converter.reactive.SseEventHttpMessageWriter; /** * Representation for a Server-Sent Event for use with Spring's reactive Web
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/codec/SseEventHttpMessageWriter.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.converter.reactive; +package org.springframework.http.codec; import java.nio.charset.StandardCharsets; import java.util.Collections; @@ -32,7 +32,6 @@ import org.springframework.core.io.buffer.DataBufferFactory; import o...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/codec/package-info.java
@@ -1,5 +1,10 @@ /** - * {@link org.springframework.core.codec.Encoder} and - * {@link org.springframework.core.codec.Decoder} implementations for web use. + * Provides implementations of {@link org.springframework.core.codec.Encoder} + * and {@link org.springframework.core.codec.Decoder} for web use. + * + * <p>Also ...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/http/converter/reactive/package-info.java
@@ -1,8 +0,0 @@ -/** - * {@link org.springframework.http.converter.reactive.HttpMessageReader}, - * {@link org.springframework.http.converter.reactive.HttpMessageWriter} - * and implementations for use with reactive - * {@link org.springframework.core.codec.Encoder} and - * {@link org.springframework.core.codec.Decoder...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/BodyExtractor.java
@@ -19,7 +19,7 @@ import java.util.List; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; /** * Contract to extract the content of a raw {@link ClientHttpResponse}...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/DefaultResponseErrorHandler.java
@@ -20,7 +20,7 @@ import org.springframework.http.HttpStatus; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; /** * Default implementation of the {@link ResponseE...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/ResponseErrorHandler.java
@@ -19,7 +19,7 @@ import java.util.List; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; /** * Strategy interface used by the {@link WebClient} to handle errors i...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/ResponseExtractors.java
@@ -26,7 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; /** * ...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/WebClient.java
@@ -42,11 +42,11 @@ import org.springframework.http.codec.json.JacksonJsonEncoder; import org.springframework.http.codec.xml.Jaxb2Decoder; import org.springframework.http.codec.xml.Jaxb2Encoder; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.http.converter.r...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/WebClientConfig.java
@@ -18,8 +18,8 @@ import java.util.List; -import org.springframework.http.converter.reactive.HttpMessageReader; -import org.springframework.http.converter.reactive.HttpMessageWriter; +import org.springframework.http.codec.HttpMessageReader; +import org.springframework.http.codec.HttpMessageWriter; /** * Inter...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/WebClientErrorException.java
@@ -19,7 +19,7 @@ import java.util.List; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; /** * Exception thrown when an HTTP 4xx is received.
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/WebClientResponseException.java
@@ -21,7 +21,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; /** * Ba...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/WebServerErrorException.java
@@ -19,7 +19,7 @@ import java.util.List; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; /** * Exception thrown when an HTTP 5xx is received.
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/main/java/org/springframework/web/client/reactive/support/RxJava1ResponseExtractors.java
@@ -29,7 +29,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.HttpMessageReader; +import org.springframework.http.codec.HttpMessageReader; import org...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/test/java/org/springframework/http/codec/SseEventHttpMessageWriterTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.converter.reactive; +package org.springframework.http.codec; import java.util.Collections; @@ -30,6 +30,7 @@ import org.springframework.http.MediaType; import org.springframework.http.codec.Pojo; import org.springframe...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/test/java/org/springframework/web/client/reactive/DefaultResponseErrorHandlerTests.java
@@ -15,8 +15,8 @@ import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.client.reactive.ClientHttpResponse; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.http.converter.reactive.HttpMessageRea...
true
Other
spring-projects
spring-framework
10c90a677cb400ecee5fe06426aebeda4d0e707c.json
Move http.converter.reactive to http.codec
spring-web/src/test/java/org/springframework/web/client/reactive/ResponseExtractorsTests.java
@@ -20,8 +20,8 @@ import org.springframework.http.ResponseEntity; import org.springframework.http.client.reactive.ClientHttpResponse; import org.springframework.http.codec.json.JacksonJsonDecoder; -import org.springframework.http.converter.reactive.DecoderHttpMessageReader; -import org.springframework.http.converter...
true
Other
spring-projects
spring-framework
0f6505e32f795646a06d5fd6d490147d43ffdf0c.json
Add timeout settings in SseIntegrationTests
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/SseIntegrationTests.java
@@ -87,7 +87,7 @@ public void sseAsString() throws Exception { TestSubscriber .subscribe(result) - .await() + .await(Duration.ofSeconds(5)) .assertValues("data:foo 0", "data:foo 1"); } @@ -104,7 +104,7 @@ public void sseAsPerson() throws Exception { TestSubscriber .subscribe(result) -...
false
Other
spring-projects
spring-framework
78b6ba05696ac48799f4ced6c909e971927e7fff.json
Filter irrelevant nodes in StaxHandler tests
spring-core/src/test/java/org/springframework/util/xml/AbstractStaxHandlerTestCase.java
@@ -20,9 +20,11 @@ import org.junit.Before; import org.junit.Test; import org.w3c.dom.Document; +import org.w3c.dom.Node; import org.xml.sax.InputSource; import org.xml.sax.XMLReader; import org.xml.sax.helpers.XMLReaderFactory; +import org.xmlunit.util.Predicate; import javax.xml.parsers.DocumentBuilder; imp...
false
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
build.gradle
@@ -87,7 +87,7 @@ configure(allprojects) { project -> ext.undertowVersion = "1.4.0.CR3" ext.websocketVersion = "1.1" ext.woodstoxVersion = "5.0.2" - ext.xmlunitVersion = "1.6" + ext.xmlunitVersion = "2.2.1" ext.xstreamVersion = "1.4.9" ext.gradleScriptDir = "${roo...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-core/src/test/java/org/springframework/util/xml/AbstractStaxHandlerTestCase.java
@@ -16,27 +16,27 @@ package org.springframework.util.xml; -import java.io.StringReader; -import java.io.StringWriter; -import java.net.Socket; +import org.junit.Assume; +import org.junit.Before; +import org.junit.Test; +import org.w3c.dom.Document; +import org.xml.sax.InputSource; +import org.xml.sax.XMLReader; +i...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-core/src/test/java/org/springframework/util/xml/DomContentHandlerTests.java
@@ -16,10 +16,6 @@ package org.springframework.util.xml; -import java.io.StringReader; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; - import org.junit.Before; import org.junit.Test; import org.w3c.dom.Document; @@ -28,7 +24,13 @@ import org.xml.sax.XMLReader; im...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-core/src/test/java/org/springframework/util/xml/ListBasedXMLEventReaderTests.java
@@ -16,6 +16,9 @@ package org.springframework.util.xml; +import static org.junit.Assert.assertThat; +import static org.xmlunit.matchers.CompareMatcher.isSimilarTo; + import java.io.StringReader; import java.io.StringWriter; import java.util.ArrayList; @@ -29,8 +32,6 @@ import org.junit.Test; -import static...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-core/src/test/java/org/springframework/util/xml/StaxResultTests.java
@@ -16,23 +16,24 @@ package org.springframework.util.xml; -import java.io.Reader; -import java.io.StringReader; -import java.io.StringWriter; +import org.junit.Before; +import org.junit.Test; + import javax.xml.stream.XMLEventWriter; import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLStreamWri...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-core/src/test/java/org/springframework/util/xml/StaxSourceTests.java
@@ -16,8 +16,11 @@ package org.springframework.util.xml; -import java.io.StringReader; -import java.io.StringWriter; +import org.junit.Before; +import org.junit.Test; +import org.w3c.dom.Document; +import org.xml.sax.InputSource; + import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilde...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-core/src/test/java/org/springframework/util/xml/XMLEventStreamReaderTests.java
@@ -16,19 +16,22 @@ package org.springframework.util.xml; -import java.io.StringReader; -import java.io.StringWriter; +import org.junit.Before; +import org.junit.Test; +import org.w3c.dom.Node; +import org.xmlunit.util.Predicate; + import javax.xml.stream.XMLEventReader; import javax.xml.stream.XMLInputFactory; ...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-core/src/test/java/org/springframework/util/xml/XMLEventStreamWriterTests.java
@@ -16,15 +16,18 @@ package org.springframework.util.xml; -import java.io.StringWriter; +import org.junit.Before; +import org.junit.Test; +import org.w3c.dom.Node; +import org.xmlunit.util.Predicate; + import javax.xml.stream.XMLEventFactory; import javax.xml.stream.XMLEventWriter; import javax.xml.stream.XMLOu...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-messaging/src/test/java/org/springframework/messaging/converter/MarshallingMessageConverterTests.java
@@ -16,21 +16,24 @@ package org.springframework.messaging.converter; +import static org.junit.Assert.*; +import static org.xmlunit.diff.ComparisonType.*; +import static org.xmlunit.diff.DifferenceEvaluators.*; +import static org.xmlunit.matchers.CompareMatcher.*; + import java.io.IOException; import java.nio.cha...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-oxm/src/test/java/org/springframework/oxm/AbstractMarshallerTests.java
@@ -16,8 +16,14 @@ package org.springframework.oxm; -import java.io.ByteArrayOutputStream; -import java.io.StringWriter; +import org.junit.Before; +import org.junit.Test; +import org.springframework.util.xml.StaxUtils; +import org.w3c.dom.Attr; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-oxm/src/test/java/org/springframework/oxm/castor/CastorMarshallerTests.java
@@ -16,35 +16,32 @@ package org.springframework.oxm.castor; +import static org.junit.Assert.*; +import static org.mockito.Mockito.*; +import static org.xmlunit.matchers.CompareMatcher.*; + import java.io.StringWriter; import java.util.Arrays; import java.util.HashMap; import java.util.Map; + +import javax.xml....
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java
@@ -16,34 +16,9 @@ package org.springframework.oxm.jaxb; -import java.io.ByteArrayOutputStream; -import java.io.StringWriter; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.lang.reflect.Type; -import java.util.Collections; -import javax.activation.DataHandler; -...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java
@@ -16,21 +16,19 @@ package org.springframework.oxm.jibx; -import java.io.StringWriter; -import javax.xml.transform.stream.StreamResult; - -import org.custommonkey.xmlunit.XMLUnit; - import org.junit.BeforeClass; import org.junit.Test; - import org.springframework.oxm.AbstractMarshallerTests; import org.spring...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-oxm/src/test/java/org/springframework/oxm/xstream/XStreamMarshallerTests.java
@@ -16,26 +16,6 @@ package org.springframework.oxm.xstream; -import java.io.ByteArrayOutputStream; -import java.io.Reader; -import java.io.StringReader; -import java.io.StringWriter; -import java.io.Writer; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; -...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-test/src/main/java/org/springframework/test/util/XmlExpectationsHelper.java
@@ -23,12 +23,12 @@ import javax.xml.transform.Source; import javax.xml.transform.dom.DOMSource; -import org.custommonkey.xmlunit.Diff; -import org.custommonkey.xmlunit.XMLUnit; import org.hamcrest.Matcher; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.xml.sax.InputSource; +import org.xmlunit...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-web/src/test/java/org/springframework/http/codec/xml/Jaxb2EncoderTests.java
@@ -16,12 +16,10 @@ package org.springframework.http.codec.xml; -import java.io.IOException; import java.nio.charset.StandardCharsets; import org.junit.Before; import org.junit.Test; -import org.xml.sax.SAXException; import reactor.core.publisher.Flux; import reactor.test.TestSubscriber; @@ -33,10 +31,10 ...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-web/src/test/java/org/springframework/http/converter/feed/AtomFeedHttpMessageConverterTests.java
@@ -16,6 +16,9 @@ package org.springframework.http.converter.feed; +import static org.junit.Assert.*; +import static org.xmlunit.matchers.CompareMatcher.*; + import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; @@ -25,19 +28,17 @@ import com.rometools.rome.feed.atom.Entry;...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-web/src/test/java/org/springframework/http/converter/feed/RssChannelHttpMessageConverterTests.java
@@ -16,6 +16,8 @@ package org.springframework.http.converter.feed; +import static org.junit.Assert.*; + import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; @@ -25,19 +27,15 @@ import com.rometools.rome.feed.rss.Channel; import com.rometools.rome.feed.rss.Item; -import or...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-web/src/test/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverterTests.java
@@ -16,7 +16,13 @@ package org.springframework.http.converter.xml; +import static org.junit.Assert.*; +import static org.xmlunit.diff.ComparisonType.*; +import static org.xmlunit.diff.DifferenceEvaluators.*; +import static org.xmlunit.matchers.CompareMatcher.*; + import java.nio.charset.StandardCharsets; + impor...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTests.java
@@ -49,10 +49,11 @@ import org.springframework.http.converter.HttpMessageNotReadableException; import org.springframework.util.FileCopyUtils; -import static org.custommonkey.xmlunit.XMLAssert.*; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; +import static org.junit.A...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-webmvc/src/test/java/org/springframework/web/servlet/view/feed/AtomFeedViewTests.java
@@ -16,26 +16,25 @@ package org.springframework.web.servlet.view.feed; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - import co...
true
Other
spring-projects
spring-framework
3635c9dbfe0ca35459e0b9b722b01894044cdc6d.json
Update xmlunit library to version 2.1.0 xmlunit 2.1.0 is the latest release for xmlunit. Most of the xmlunit functionality used within spring-framework was done through the xmlunit 1.x helper class `org.custommonkey.xmlunit.XMLAssert`. As of xmlunit 2.0.0 most of the XML comparison methods are done through hamcrest m...
spring-webmvc/src/test/java/org/springframework/web/servlet/view/feed/RssFeedViewTests.java
@@ -16,25 +16,25 @@ package org.springframework.web.servlet.view.feed; -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - import com.rometools.rome.feed.rss.Ch...
true
Other
spring-projects
spring-framework
9fb8a2eb2e05b99179614a7d67a1a745e432819c.json
Add contextClass resolution to JacksonJsonDecoder Issue: SPR-14158
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/MessageReaderArgumentResolverTests.java
@@ -17,6 +17,7 @@ package org.springframework.web.reactive.result.method.annotation; import java.io.Serializable; +import java.lang.reflect.Method; import java.net.URI; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; @@ -31,7 +32,6 @@ import javax.xml.bind.annotation.XmlRootElement; imp...
true