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
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebSocketHandlerRegistration.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,7 +50,7 @@ public interface WebSocketHan...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java
@@ -298,9 +298,9 @@ public boolean shouldSuppressCors() { * designed for browsers. There is nothing preventing other types of client * to modify the {@code Origin} header value. * <p>When SockJS is enabled and origins are restricted, transport types - * that do not allow to check request origin (JSONP and Ifr...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportType.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,10 +40,6 @@ public enum TransportType { ...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/AbstractHttpSendingTransportHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,7 +46,7 @@ public abstract class Abstrac...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/DefaultSockJsService.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -84,8 +84,6 @@ private static Set<TransportH...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/JsonpPollingTransportHandler.java
@@ -1,102 +0,0 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 -...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/JsonpReceivingTransportHandler.java
@@ -1,85 +0,0 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/test/java/org/springframework/web/socket/config/HandlersBeanDefinitionParserTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,8 +55,6 @@ import org.springframework.w...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/TransportTypeTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,8 +30,6 @@ public void testFromValue() {...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/DefaultSockJsServiceTests.java
@@ -63,10 +63,6 @@ public class DefaultSockJsServiceTests extends AbstractHttpRequestTests { @Mock private TransportHandler xhrSendHandler; - @Mock private SessionCreatingTransportHandler jsonpHandler; - - @Mock private TransportHandler jsonpSendHandler; - @Mock private HandshakeTransportHandler wsTransportHand...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/HttpReceivingTransportHandlerTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,7 +32,7 @@ /** * Test fixture for {...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/HttpSendingTransportHandlerTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,14 +24,11 @@ import org.springframework...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
src/docs/asciidoc/web/webmvc-view.adoc
@@ -2030,11 +2030,6 @@ annotations. When further control is needed, a custom `ObjectMapper` can be inje through the `ObjectMapper` property for cases where custom JSON serializers/deserializers need to be provided for specific types. -http://en.wikipedia.org/wiki/JSONP[JSONP] is supported and automatically enabled ...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
src/docs/asciidoc/web/webmvc.adoc
@@ -2645,30 +2645,6 @@ to the model: } ---- -[[mvc-ann-jsonp]] -===== Jackson JSONP - -In order to enable http://en.wikipedia.org/wiki/JSONP[JSONP] support for `@ResponseBody` -and `ResponseEntity` methods, declare an `@ControllerAdvice` bean that extends -`AbstractJsonpResponseBodyAdvice` as shown below where the...
true
Other
spring-projects
spring-framework
ac37b678a3ac9ee541a10e8ad74d612bb9ec5b88.json
Remove JSONP support CORS is now widely supported and should be used instead for cross-domain requests. Issue: SPR-16914
src/docs/asciidoc/web/websocket.adoc
@@ -401,8 +401,8 @@ The 3 possible behaviors are: transport is disabled since it does not allow to check the origin of a request. As a consequence, IE6 and IE7 are not supported when this mode is enabled. * Allow a specified list of origins: each provided _allowed origin_ must start with `http://` - or `htt...
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-core/src/main/java/org/springframework/core/codec/ByteArrayEncoder.java
@@ -55,8 +55,4 @@ public Flux<DataBuffer> encode(Publisher<? extends byte[]> inputStream, return Flux.from(inputStream).map(bufferFactory::wrap); } - @Override - public Long getContentLength(byte[] bytes, @Nullable MimeType mimeType) { - return (long) bytes.length; - } }
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-core/src/main/java/org/springframework/core/codec/ByteBufferEncoder.java
@@ -56,8 +56,4 @@ public Flux<DataBuffer> encode(Publisher<? extends ByteBuffer> inputStream, return Flux.from(inputStream).map(bufferFactory::wrap); } - @Override - public Long getContentLength(ByteBuffer byteBuffer, @Nullable MimeType mimeType) { - return (long) byteBuffer.array().length; - } }
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-core/src/main/java/org/springframework/core/codec/CharSequenceEncoder.java
@@ -82,11 +82,6 @@ private Charset getCharset(@Nullable MimeType mimeType) { return charset; } - @Override - public Long getContentLength(CharSequence data, @Nullable MimeType mimeType) { - return (long) data.toString().getBytes(getCharset(mimeType)).length; - } - /** * Create a {@code CharSequenceEncoder}...
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-core/src/main/java/org/springframework/core/codec/DataBufferEncoder.java
@@ -55,9 +55,4 @@ public Flux<DataBuffer> encode(Publisher<? extends DataBuffer> inputStream, return Flux.from(inputStream); } - @Override - public Long getContentLength(DataBuffer dataBuffer, @Nullable MimeType mimeType) { - return (long) dataBuffer.readableByteCount(); - } - }
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-core/src/main/java/org/springframework/core/codec/Encoder.java
@@ -67,17 +67,6 @@ Flux<DataBuffer> encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints); - /** - * Return the length for the given item, if known. - * @param t the item to check - * @return t...
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-core/src/main/java/org/springframework/core/codec/ResourceEncoder.java
@@ -16,13 +16,11 @@ package org.springframework.core.codec; -import java.io.IOException; import java.util.Map; import reactor.core.publisher.Flux; import org.springframework.core.ResolvableType; -import org.springframework.core.io.InputStreamResource; import org.springframework.core.io.Resource; import or...
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-web/src/main/java/org/springframework/http/codec/EncoderHttpMessageWriter.java
@@ -28,6 +28,7 @@ import org.springframework.core.ResolvableType; import org.springframework.core.codec.Encoder; import org.springframework.core.io.buffer.DataBuffer; +import org.springframework.core.io.buffer.DataBufferFactory; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType...
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-web/src/main/java/org/springframework/http/codec/ResourceHttpMessageWriter.java
@@ -31,6 +31,7 @@ import org.springframework.core.codec.ResourceDecoder; import org.springframework.core.codec.ResourceEncoder; import org.springframework.core.codec.ResourceRegionEncoder; +import org.springframework.core.io.InputStreamResource; import org.springframework.core.io.Resource; import org.springframewo...
true
Other
spring-projects
spring-framework
010352163ba4d7f754c019912dc67cb31ef5702a.json
Eliminate the need for Encoder#getContentLength Issue: SPR-16892
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingMessageConversionIntegrationTests.java
@@ -128,59 +128,77 @@ public void byteBufferResponseBodyWithFlowable() throws Exception { @Test public void personResponseBody() throws Exception { Person expected = new Person("Robert"); - assertEquals(expected, performGet("/person-response/person", JSON, Person.class).getBody()); + ResponseEntity<Person> res...
true
Other
spring-projects
spring-framework
aed63d38b2c717ef84cc8a05e9c7c9e4270180d0.json
Fix code examples for WebFlux functional endpoints Closes gh-1844
src/docs/asciidoc/web/webflux-functional.adoc
@@ -31,6 +31,7 @@ For example: ---- import static org.springframework.http.MediaType.APPLICATION_JSON; import static org.springframework.web.reactive.function.server.RequestPredicates.*; +import static org.springframework.web.reactive.function.server.RouterFunctions.route; PersonRepository repository = ... Perso...
false
Other
spring-projects
spring-framework
e57d8e1e6032d58eb252deead7e3f42a7a994227.json
Remove extra backquote
src/docs/asciidoc/data-access.adoc
@@ -3826,7 +3826,7 @@ like: [subs="verbatim,quotes"] ---- new SqlParameter("in_id", Types.NUMERIC), - new SqlOutParameter("out_first_name", Types.VARCHAR), + new SqlOutParameter("out_first_name", Types.VARCHAR), ---- The first line with the `SqlParameter` declares an IN parameter. IN parameters can be @@ -4141...
false
Other
spring-projects
spring-framework
d77797f42c2da26286d5bb9681d6f2a0018792ce.json
Improve readability of Body[Inserters|Extractors]
spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractors.java
@@ -29,256 +29,226 @@ import org.springframework.core.ParameterizedTypeReference; import org.springframework.core.ResolvableType; import org.springframework.core.io.buffer.DataBuffer; -import org.springframework.http.HttpMessage; import org.springframework.http.MediaType; import org.springframework.http.ReactiveHt...
true
Other
spring-projects
spring-framework
d77797f42c2da26286d5bb9681d6f2a0018792ce.json
Improve readability of Body[Inserters|Extractors]
spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyInserters.java
@@ -17,7 +17,6 @@ package org.springframework.web.reactive.function; import java.util.List; -import java.util.Optional; import java.util.stream.Collectors; import org.reactivestreams.Publisher; @@ -34,7 +33,6 @@ import org.springframework.http.client.reactive.ClientHttpRequest; import org.springframework.http...
true
Other
spring-projects
spring-framework
c4efe79d5a0c23d5ae1aebd734e8e13b37a1829e.json
Fix JMS Doc typo There is no such class `ReplyQosSettings`. Closes gh-1836
src/docs/asciidoc/integration.adoc
@@ -2677,7 +2677,7 @@ the time to live, you can configure the `JmsListenerContainerFactory` accordingl public DefaultJmsListenerContainerFactory jmsListenerContainerFactory() { DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory(); factory.setConnectionFactory(connectionFactor...
false
Other
spring-projects
spring-framework
82480a79089e24e583f191e9955c7735c2990872.json
Update docs on WebClient filters
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java
@@ -116,7 +116,8 @@ public interface WebClient { /** - * Return a builder to mutate properties of this web client. + * Return a builder for a new {@code WebClient} with properties replicated + * from the current {@code WebClient} instance, but without affecting it. */ Builder mutate(); @@ -136,6 +137,7 ...
true
Other
spring-projects
spring-framework
82480a79089e24e583f191e9955c7735c2990872.json
Update docs on WebClient filters
src/docs/asciidoc/web/webflux-webclient.adoc
@@ -322,44 +322,77 @@ build a new `WebClient`, based on, but without affecting the current instance: [[webflux-client-filter]] -== Filters +== Client Filters -`WebClient` supports interception style request filtering: +You can register an `ExchangeFilterFunction` in the `WebClient.Builder` to intercept and +poss...
true
Other
spring-projects
spring-framework
eed663ff7e33f24b614db087353599b321e18436.json
Fix error in WebFlux chapter on static resources Issue: SPR-16864
src/docs/asciidoc/web/webflux.adoc
@@ -2866,7 +2866,7 @@ evaluated and if present a `304` status code is returned. public void addResourceHandlers(ResourceHandlerRegistry registry) { registry.addResourceHandler("/resources/**") .addResourceLocations("/public", "classpath:/static/") - .setCachePeriod(31556926); + .setCacheControl(CacheC...
false
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-context/src/main/java/org/springframework/cache/config/CacheAdviceParser.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-context/src/main/java/org/springframework/jmx/support/JmxUtils.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-context/src/main/java/org/springframework/validation/DataBinder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-core/src/main/java/org/springframework/util/comparator/Comparators.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-jdbc/src/main/java/org/springframework/jdbc/config/DatabasePopulatorConfigUtils.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-jdbc/src/main/java/org/springframework/jdbc/support/GeneratedKeyHolder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/ReactorNettyTcpStompClient.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-test/src/main/java/org/springframework/test/context/BootstrapUtils.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-test/src/main/java/org/springframework/test/web/ModelAndViewAssert.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-web/src/main/java/org/springframework/http/MediaTypeFactory.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-web/src/main/java/org/springframework/remoting/caucho/HessianExporter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-web/src/main/java/org/springframework/web/util/pattern/RegexPathElement.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/InitBinderBindingContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewControllerRegistry.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/TagWriter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
991eb4858e48535c04fe2cc42ed7778fdb2ed965.json
Update copyright header
spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupConfigurer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
c0b4b5787fc7a685c82d237f09533c89eb6b1ab1.json
Change this "try" to a try-with-resources Closes gh-1671
spring-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java
@@ -249,18 +249,14 @@ public int loadBeanDefinitions(EncodedResource encodedResource, @Nullable String Properties props = new Properties(); try { - InputStream is = encodedResource.getResource().getInputStream(); - try { + try (InputStream is = encodedResource.getResource().getInputStream()) { if (en...
true
Other
spring-projects
spring-framework
c0b4b5787fc7a685c82d237f09533c89eb6b1ab1.json
Change this "try" to a try-with-resources Closes gh-1671
spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java
@@ -461,9 +461,8 @@ protected PropertiesHolder refreshProperties(String filename, @Nullable Properti * @throws IOException if properties loading failed */ protected Properties loadProperties(Resource resource, String filename) throws IOException { - InputStream is = resource.getInputStream(); Properties pro...
true
Other
spring-projects
spring-framework
c0b4b5787fc7a685c82d237f09533c89eb6b1ab1.json
Change this "try" to a try-with-resources Closes gh-1671
spring-context/src/main/java/org/springframework/context/support/ResourceBundleMessageSource.java
@@ -26,7 +26,6 @@ import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.text.MessageFormat; -import java.util.HashMap; import java.util.Locale; import java.util.Map; import java.util.MissingResourceException; @@ -370,11 +369,8 @@ public ResourceBundle newBundl...
true
Other
spring-projects
spring-framework
c0b4b5787fc7a685c82d237f09533c89eb6b1ab1.json
Change this "try" to a try-with-resources Closes gh-1671
spring-web/src/main/java/org/springframework/http/MediaTypeFactory.java
@@ -60,9 +60,7 @@ public class MediaTypeFactory { * @return a multi-value map, mapping media types to file extensions. */ private static MultiValueMap<String, MediaType> parseMimeTypes() { - InputStream is = null; - try { - is = MediaTypeFactory.class.getResourceAsStream(MIME_TYPES_FILE_NAME); + try (Input...
true
Other
spring-projects
spring-framework
c0b4b5787fc7a685c82d237f09533c89eb6b1ab1.json
Change this "try" to a try-with-resources Closes gh-1671
spring-web/src/main/java/org/springframework/remoting/caucho/HessianExporter.java
@@ -158,15 +158,16 @@ protected void doInvoke(HessianSkeleton skeleton, InputStream inputStream, Outpu OutputStream osToUse = outputStream; if (this.debugLogger != null && this.debugLogger.isDebugEnabled()) { - PrintWriter debugWriter = new PrintWriter(new CommonsLogWriter(this.debugLogger)); - @Suppres...
true
Other
spring-projects
spring-framework
1b98d09855477df1d05a498e2749546fe0c1908d.json
Fix copy+paste error
spring-web/src/test/java/org/springframework/http/server/reactive/AbstractHttpHandlerIntegrationTests.java
@@ -77,8 +77,8 @@ public void tearDown() throws Exception { /** - * Return an interval stream of with n number of ticks and buffer the - * emissions to avoid back pressure failures (e.g. on slow CI server). + * Return an interval stream of N number of ticks and buffer the emissions + * to avoid back pressure ...
false
Other
spring-projects
spring-framework
9551b3a9bb2b4e95c770e18da43ab2f1b21e1d5d.json
Eliminate sub-sections in Spring MVC test chapter The very short, summary mini-sections confuse the client-side code that highlights the TOC item. This commit removes the sub-sections.
src/docs/asciidoc/web/webmvc-test.adoc
@@ -2,54 +2,37 @@ = Testing [.small]#<<web-reactive.adoc#webflux-test,Same in Spring WebFlux>># +This section summarizes the options available in `spring-test` for Spring MVC applications. +**Servlet API Mocks** +Mock implementations of Servlet API contracts for unit testing controllers, filters, and +other web...
false
Other
spring-projects
spring-framework
196f3f8cc1aae9f3df06e9d961c62185e8730bfb.json
Improve WebFlux exception logging This commit updates HttpWebHandlerAdapter and ResponseStatusExceptionHandler in order to specify the method/uri in the logged message. It also logs a WARN message for bad request (400) HTTP responses in order to get some logs when an exception is thrown due to client error (unable to...
spring-web/src/main/java/org/springframework/web/server/adapter/HttpWebHandlerAdapter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -182,7 +182,7 @@ public ApplicationContext g...
true
Other
spring-projects
spring-framework
196f3f8cc1aae9f3df06e9d961c62185e8730bfb.json
Improve WebFlux exception logging This commit updates HttpWebHandlerAdapter and ResponseStatusExceptionHandler in order to specify the method/uri in the logged message. It also logs a WARN message for bad request (400) HTTP responses in order to get some logs when an exception is thrown due to client error (unable to...
spring-web/src/main/java/org/springframework/web/server/handler/ResponseStatusExceptionHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import reactor.core.publishe...
true
Other
spring-projects
spring-framework
b2681e1f4af623a782dab82ed5eef881316bb366.json
Add ViewResolverRegistry#scriptTemplate in WebFlux Issue: SPR-16431
spring-webflux/src/main/java/org/springframework/web/reactive/config/ViewResolverRegistry.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,8 @@ import org.springframework.w...
true
Other
spring-projects
spring-framework
b2681e1f4af623a782dab82ed5eef881316bb366.json
Add ViewResolverRegistry#scriptTemplate in WebFlux Issue: SPR-16431
spring-webflux/src/test/java/org/springframework/web/reactive/config/ViewResolverRegistryTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,23 +15,30 @@ */ package org.springfra...
true
Other
spring-projects
spring-framework
4f28c28287d9715bf1a7a9693a809b099003ae88.json
Update Javadoc on uriTemplateHandler property Issue: SPR-16419
spring-web/src/main/java/org/springframework/web/client/RestTemplate.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -301,9 +301,15 @@ else if (this.uriTemplateH...
true
Other
spring-projects
spring-framework
4f28c28287d9715bf1a7a9693a809b099003ae88.json
Update Javadoc on uriTemplateHandler property Issue: SPR-16419
spring-web/src/main/java/org/springframework/web/util/DefaultUriTemplateHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,7 +33,10 @@ * * @author Rossen Stoya...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Decoder.java
@@ -18,6 +18,7 @@ import java.io.IOException; import java.lang.annotation.Annotation; +import java.util.List; import java.util.Map; import com.fasterxml.jackson.core.JsonFactory; @@ -133,6 +134,13 @@ public Map<String, Object> getDecodeHints(ResolvableType actualType, ResolvableT return getHints(actualType);...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Encoder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -60,6 +60,8 @@ public abstract class Abstrac...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/main/java/org/springframework/http/codec/json/Jackson2JsonDecoder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,8 +16,6 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/main/java/org/springframework/http/codec/json/Jackson2JsonEncoder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,7 +44,7 @@ * @see Jackson2JsonDecoder ...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/main/java/org/springframework/http/codec/json/Jackson2SmileDecoder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +16,8 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/main/java/org/springframework/http/codec/json/Jackson2SmileEncoder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/main/java/org/springframework/http/codec/json/Jackson2Tokenizer.java
@@ -125,7 +125,9 @@ private Flux<TokenBuffer> parseTokenBufferFlux() throws IOException { while (true) { JsonToken token = this.parser.nextToken(); - if (token == null || token == JsonToken.NOT_AVAILABLE) { + // SPR-16151: Smile data format uses null to separate documents + if ((token == JsonToken.NOT_AV...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/test/java/org/springframework/http/codec/json/Jackson2JsonDecoderTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -52,6 +52,8 @@ import static org.junit.Asse...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/test/java/org/springframework/http/codec/json/Jackson2JsonEncoderTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -57,6 +57,8 @@ public class Jackson2JsonEnco...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/test/java/org/springframework/http/codec/json/Jackson2SmileDecoderTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ import static org.junit.Asse...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-web/src/test/java/org/springframework/http/codec/json/Jackson2SmileEncoderTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,6 +49,7 @@ public class Jackson2SmileEn...
true
Other
spring-projects
spring-framework
32f6ccece8ba348381b4dcee8e332a89e9e42b29.json
Add WebFlux support for Smile streaming The commit brings following changes: - Move getDecodableMimeTypes() to AbstractJackson2Decoder - Move getEncodableMimeTypes() to AbstractJackson2Encoder - Add support for application/stream+x-jackson-smile - Avoid streaming line separator when Smile encoder is used - Use do...
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/JacksonStreamingIntegrationTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.springframework.c...
true
Other
spring-projects
spring-framework
721af4f7808bae0d0bb34db298d55d4d45c4b3cf.json
Fix wrong instructions for building documentation (#1508) Issue: SPR-15906
CONTRIBUTING-DOCUMENTATION.adoc
@@ -5,12 +5,12 @@ document describes how to contribute documentation updates. == Building with Gradle -You can build the documentation using gradle using the `reference` task. For example, from +You can build the documentation using gradle using the `asciidoctor` task. For example, from the project root execute t...
false
Other
spring-projects
spring-framework
d61db48d643834c89e5c277fda8ea798d17c9db7.json
Improve WebFlux documentation sections Issue: SPR-15149
src/docs/asciidoc/web.adoc
@@ -23,6 +23,4 @@ include::web/web-websocket.adoc[leveloffset=+1] include::web/web-flux.adoc[leveloffset=+1] -include::web/web-flux-functional.adoc[leveloffset=+1] - include::web/web-integration.adoc[leveloffset=+1]
true
Other
spring-projects
spring-framework
d61db48d643834c89e5c277fda8ea798d17c9db7.json
Improve WebFlux documentation sections Issue: SPR-15149
src/docs/asciidoc/web/web-flux-functional.adoc
@@ -1,5 +1,5 @@ [[webflux-fn]] -= Spring WebFlux Functional Programming Model += Functional Programming Model [[webflux-fn-handler-functions]] == HandlerFunctions
true
Other
spring-projects
spring-framework
d61db48d643834c89e5c277fda8ea798d17c9db7.json
Improve WebFlux documentation sections Issue: SPR-15149
src/docs/asciidoc/web/web-flux.adoc
@@ -5,11 +5,11 @@ This section provides basic information on the reactive programming support for Web applications in Spring Framework 5. -[[web-reactive-intro]] +[[webflux-intro]] == Introduction -[[web-reactive-programming]] +[[webflux-intro-reactive-programming]] === What is Reactive Programming? In pl...
true
Other
spring-projects
spring-framework
1cb96f47c87cc15bfda2026dc85c7af95278c081.json
Fix Eclipse support in Gradle build The upgrade to Gradle 4.0 broke the custom Eclipse support in the Spring Framework build. This commit includes the following changes which re-enable support for Eclipse in the build. - Switched to ProjectDependency(String) constructor - Updated regular expression that matches aga...
gradle/ide.gradle
@@ -13,15 +13,15 @@ eclipse.jdt { // Replace classpath entries with project dependencies (GRADLE-1116) // http://issues.gradle.org/browse/GRADLE-1116 eclipse.classpath.file.whenMerged { classpath -> - def regexp = /.*?\/([^\/]+)\/build\/[^\/]+\/(?:main|test)/ // only match those that end in main or test (avoids remo...
false
Other
spring-projects
spring-framework
f6023c220262df6fdc126a69ed187d31b98bd276.json
Remove Sonar / Jacoco build configuration Issue: SPR-15885
build.gradle
@@ -16,7 +16,6 @@ plugins { id "io.spring.dependency-management" version "1.0.3.RELEASE" apply false id "org.jetbrains.kotlin.jvm" version "1.1.4" apply false id "org.asciidoctor.convert" version "1.5.3" - id "org.sonarqube" version "2.5" } buildScan { @@ -179,19 +178,6 @@ configure(allprojects) { project -> ...
false
Other
spring-projects
spring-framework
5a51351fa4e582571a442b331fb3f2bec0e63f30.json
Relax test assertion when Jacoco is enabled This commit changes the resolveMethod to take a method name as instrumentation may add additional methods to the test object. Issue: SPR-15888
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandlerTests.java
@@ -83,7 +83,7 @@ public void supports() throws NoSuchMethodException { method = on(TestController.class).annotPresent(ResponseBody.class).resolveMethod(); testSupports(controller, method); - method = on(TestController.class).annotNotPresent(ResponseBody.class).resolveMethod(); + method = on(TestController.cl...
false
Other
spring-projects
spring-framework
5460c0095bea838c3cd8374be71cf6d376d67eb4.json
Fix Gradle warnings about task output As of Gradle 4.0, project SourceSets can have multiple output directories (one per programming language). This commit fixes warnings that are logged when a single output dir is considered by tasks. Issue: SPR-15885
gradle/sniffer.gradle
@@ -44,7 +44,7 @@ task sniff { dependsOn compileJava dependsOn copyJavaApiSignature - inputs.dir sourceSets.main.output.classesDir + sourceSets.main.output.classesDirs.each { inputs.dir it } inputs.dir copyJavaApiSignature.to doLast {
true
Other
spring-projects
spring-framework
5460c0095bea838c3cd8374be71cf6d376d67eb4.json
Fix Gradle warnings about task output As of Gradle 4.0, project SourceSets can have multiple output directories (one per programming language). This commit fixes warnings that are logged when a single output dir is considered by tasks. Issue: SPR-15885
spring-aspects/spring-aspects.gradle
@@ -18,7 +18,7 @@ compileJava { actions = [] dependsOn configurations.ajc.getTaskDependencyFromProjectDependency(true, "compileJava") - def outputDir = project.sourceSets.main.output.classesDir + def outputDir = project.sourceSets.main.java.outputDir inputs.files(project.sourceSets.main.allSource + project.s...
true
Other
spring-projects
spring-framework
5460c0095bea838c3cd8374be71cf6d376d67eb4.json
Fix Gradle warnings about task output As of Gradle 4.0, project SourceSets can have multiple output directories (one per programming language). This commit fixes warnings that are logged when a single output dir is considered by tasks. Issue: SPR-15885
spring-oxm/spring-oxm.gradle
@@ -95,28 +95,6 @@ task genJaxb { } } -// JiBX compiler is currently not compatible with JDK 9 -if (JavaVersion.current() == JavaVersion.VERSION_1_8) { - compileTestJava { - def bindingXml = "${projectDir}/src/test/resources/org/springframework/oxm/jibx/binding.xml" - - doLast() { - project.ant { - taskdef(...
true
Other
spring-projects
spring-framework
cc3d7d2d487cf18f7234898bd2e16703908a7b8b.json
Apply dependency management to selected modules This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-1...
build.gradle
@@ -90,13 +90,6 @@ configure(allprojects) { project -> configurations.all { // Check for updates every build resolutionStrategy.cacheChangingModulesFor 0, 'seconds' - - // Consistent netty version (e.g. clashes between netty-all vs netty-common) - resolutionStrategy.eachDependency { DependencyResolveDetails d...
true
Other
spring-projects
spring-framework
cc3d7d2d487cf18f7234898bd2e16703908a7b8b.json
Apply dependency management to selected modules This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-1...
spring-core/spring-core.gradle
@@ -1,5 +1,18 @@ description = "Spring Core" +apply plugin: "io.spring.dependency-management" + +dependencyManagement { + imports { + mavenBom "io.projectreactor:reactor-bom:${reactorVersion}" + mavenBom "io.netty:netty-bom:${nettyVersion}" + } + resolutionStrategy { + cacheChangingModulesFor 0, 'seconds' + } + a...
true
Other
spring-projects
spring-framework
cc3d7d2d487cf18f7234898bd2e16703908a7b8b.json
Apply dependency management to selected modules This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-1...
spring-messaging/spring-messaging.gradle
@@ -1,5 +1,18 @@ description = "Spring Messaging" +apply plugin: "io.spring.dependency-management" + +dependencyManagement { + imports { + mavenBom "io.projectreactor:reactor-bom:${reactorVersion}" + mavenBom "io.netty:netty-bom:${nettyVersion}" + } + resolutionStrategy { + cacheChangingModulesFor 0, 'seconds' + ...
true
Other
spring-projects
spring-framework
cc3d7d2d487cf18f7234898bd2e16703908a7b8b.json
Apply dependency management to selected modules This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-1...
spring-test/spring-test.gradle
@@ -1,5 +1,18 @@ description = "Spring TestContext Framework" +apply plugin: "io.spring.dependency-management" + +dependencyManagement { + imports { + mavenBom "io.projectreactor:reactor-bom:${reactorVersion}" + mavenBom "io.netty:netty-bom:${nettyVersion}" + } + resolutionStrategy { + cacheChangingModulesFor 0, ...
true
Other
spring-projects
spring-framework
cc3d7d2d487cf18f7234898bd2e16703908a7b8b.json
Apply dependency management to selected modules This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-1...
spring-web/spring-web.gradle
@@ -1,6 +1,18 @@ description = "Spring Web" apply plugin: "groovy" +apply plugin: "io.spring.dependency-management" + +dependencyManagement { + imports { + mavenBom "io.projectreactor:reactor-bom:${reactorVersion}" + mavenBom "io.netty:netty-bom:${nettyVersion}" + } + resolutionStrategy { + cacheChangingModulesF...
true
Other
spring-projects
spring-framework
cc3d7d2d487cf18f7234898bd2e16703908a7b8b.json
Apply dependency management to selected modules This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-1...
spring-webflux/spring-webflux.gradle
@@ -1,5 +1,18 @@ description = "Spring WebFlux" +apply plugin: "io.spring.dependency-management" + +dependencyManagement { + imports { + mavenBom "io.projectreactor:reactor-bom:${reactorVersion}" + mavenBom "io.netty:netty-bom:${nettyVersion}" + } + resolutionStrategy { + cacheChangingModulesFor 0, 'seconds' + } ...
true
Other
spring-projects
spring-framework
cc3d7d2d487cf18f7234898bd2e16703908a7b8b.json
Apply dependency management to selected modules This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-1...
spring-webmvc/spring-webmvc.gradle
@@ -1,5 +1,17 @@ description = "Spring Web MVC" +apply plugin: "io.spring.dependency-management" + +dependencyManagement { + imports { + mavenBom "io.projectreactor:reactor-bom:${reactorVersion}" + } + resolutionStrategy { + cacheChangingModulesFor 0, 'seconds' + } + applyMavenExclusions = false +} + dependencies...
true
Other
spring-projects
spring-framework
cc3d7d2d487cf18f7234898bd2e16703908a7b8b.json
Apply dependency management to selected modules This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-1...
spring-websocket/spring-websocket.gradle
@@ -1,5 +1,18 @@ description = "Spring WebSocket" +apply plugin: "io.spring.dependency-management" + +dependencyManagement { + imports { + mavenBom "io.projectreactor:reactor-bom:${reactorVersion}" + mavenBom "io.netty:netty-bom:${nettyVersion}" + } + resolutionStrategy { + cacheChangingModulesFor 0, 'seconds' + ...
true
Other
spring-projects
spring-framework
2eeb428e95c188f60f9fe81e2a6f5f859d52bacb.json
Move modules to independent build files The main `build.gradle` file contains now only the common build infrastructure; all module-specific build configurations have been moved to their own build file. Issue: SPR-15885
build.gradle
@@ -259,820 +259,6 @@ configure(subprojects - project(":spring-build-src")) { subproject -> } } -project("spring-build-src") { - description = "Exposes gradle buildSrc for IDE support" - - apply plugin: "groovy" - - dependencies { - compile gradleApi() - compile localGroovy() - } - - configurations.archives.arti...
true
Other
spring-projects
spring-framework
2eeb428e95c188f60f9fe81e2a6f5f859d52bacb.json
Move modules to independent build files The main `build.gradle` file contains now only the common build infrastructure; all module-specific build configurations have been moved to their own build file. Issue: SPR-15885
buildSrc/spring-build-src.gradle
@@ -0,0 +1,10 @@ +description = "Exposes gradle buildSrc for IDE support" + +apply plugin: "groovy" + +dependencies { + compile gradleApi() + compile localGroovy() +} + +configurations.archives.artifacts.clear() \ No newline at end of file
true
Other
spring-projects
spring-framework
2eeb428e95c188f60f9fe81e2a6f5f859d52bacb.json
Move modules to independent build files The main `build.gradle` file contains now only the common build infrastructure; all module-specific build configurations have been moved to their own build file. Issue: SPR-15885
spring-aop/spring-aop.gradle
@@ -0,0 +1,9 @@ +description = "Spring AOP" + +dependencies { + compile(project(":spring-beans")) + compile(project(':spring-core')) + optional("org.aspectj:aspectjweaver:${aspectjVersion}") + optional("org.apache.commons:commons-pool2:2.4.2") + optional("com.jamonapi:jamon:2.81") +} \ No newline at end of file
true
Other
spring-projects
spring-framework
2eeb428e95c188f60f9fe81e2a6f5f859d52bacb.json
Move modules to independent build files The main `build.gradle` file contains now only the common build infrastructure; all module-specific build configurations have been moved to their own build file. Issue: SPR-15885
spring-aspects/spring-aspects.gradle
@@ -1,3 +1,5 @@ +description = "Spring Aspects" + // redefine the compileJava and compileTestJava tasks in order to // compile sources with ajc instead of javac @@ -81,3 +83,27 @@ compileTestJava { } } } + + +dependencies { + aspects(project(":spring-orm")) + ajc("org.aspectj:aspectjtools:${aspectjVersion}")...
true
Other
spring-projects
spring-framework
2eeb428e95c188f60f9fe81e2a6f5f859d52bacb.json
Move modules to independent build files The main `build.gradle` file contains now only the common build infrastructure; all module-specific build configurations have been moved to their own build file. Issue: SPR-15885
spring-context-indexer/spring-context-indexer.gradle
@@ -0,0 +1,8 @@ +description = "Spring Context Indexer" + +dependencies { + testCompile(project(":spring-context")) + testCompile("javax.inject:javax.inject:1") + testCompile("javax.annotation:javax.annotation-api:1.3") + testCompile("org.eclipse.persistence:javax.persistence:2.1.1") +} \ No newline at end of file
true
Other
spring-projects
spring-framework
2eeb428e95c188f60f9fe81e2a6f5f859d52bacb.json
Move modules to independent build files The main `build.gradle` file contains now only the common build infrastructure; all module-specific build configurations have been moved to their own build file. Issue: SPR-15885
spring-context-support/spring-context-support.gradle
@@ -0,0 +1,26 @@ +description = "Spring Context Support" + +dependencies { + compile(project(":spring-beans")) + compile(project(":spring-context")) + compile(project(":spring-core")) + optional(project(":spring-jdbc")) // for Quartz support + optional(project(":spring-tx")) // for Quartz support + optional("javax.ac...
true
Other
spring-projects
spring-framework
2eeb428e95c188f60f9fe81e2a6f5f859d52bacb.json
Move modules to independent build files The main `build.gradle` file contains now only the common build infrastructure; all module-specific build configurations have been moved to their own build file. Issue: SPR-15885
spring-context/spring-context.gradle
@@ -0,0 +1,32 @@ +description = "Spring Context" + +apply plugin: "groovy" + +dependencies { + compile(project(":spring-aop")) + compile(project(":spring-beans")) + compile(project(":spring-expression")) + compile(project(':spring-core')) + optional(project(":spring-instrument")) + optional("javax.inject:javax.inject:1...
true