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
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/FileCopyUtils.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. @@ -43,6 +43,9 @@ */ public abstract class F...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/InstanceFilter.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. @@ -30,6 +30,7 @@ * * @author Stephane Nico...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/LinkedCaseInsensitiveMap.java
@@ -38,6 +38,7 @@ * * @author Juergen Hoeller * @since 3.0 + * @param <V> the value type */ @SuppressWarnings("serial") public class LinkedCaseInsensitiveMap<V> implements Map<String, V>, Serializable, Cloneable {
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/LinkedMultiValueMap.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. @@ -36,6 +36,8 @@ * @author Arjen Poutsma *...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/MethodInvoker.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. @@ -53,7 +53,7 @@ public class MethodInvoker { ...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/MimeType.java
@@ -401,7 +401,7 @@ public boolean equals(Object other) { /** * Determine if the parameters in this {@code MimeType} and the supplied * {@code MimeType} are equal, performing case-insensitive comparisons - * for {@link Charset}s. + * for {@link Charset Charsets}. * @since 4.2 */ private boolean parame...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/MultiValueMap.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,8 @@ * * @author Arjen Poutsma...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/ReflectionUtils.java
@@ -511,8 +511,8 @@ public static <T> Constructor<T> accessibleConstructor(Class<T> clazz, Class<?>. * on Java 8 based interfaces that the given class implements). * @param clazz the class to introspect * @param mc the callback to invoke for each method - * @since 4.2 * @throws IllegalStateException if int...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/ResourceUtils.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. @@ -47,49 +47,49 @@ */ public abstract class...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/StopWatch.java
@@ -53,10 +53,10 @@ public class StopWatch { private final List<TaskInfo> taskList = new LinkedList<>(); - /** Start time of the current task */ + /** Start time of the current task. */ private long startTimeMillis; - /** Name of the current task */ + /** Name of the current task. */ @Nullable private Str...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/StreamUtils.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. @@ -45,6 +45,9 @@ */ public abstract class S...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/SystemPropertyUtils.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. @@ -35,13 +35,13 @@ */ public abstract class...
true
Other
spring-projects
spring-framework
e0480f75ac4e0367a053eabd3a07c3fa34eccf61.json
Fix javadoc checkstyle issues Fix checkstyle violations for javadoc. Issue: SPR-16968
spring-core/src/main/java/org/springframework/util/comparator/ComparableComparator.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. @@ -25,12 +25,13 @@ * * @author Keith Donal...
true
Other
spring-projects
spring-framework
4dee333a75121f4f6ceb4f62e2da4744a6fda2c6.json
Allow empty usernames for BasicAuth The RFCs around basic authentication don't explicitly disallow empty usernames. On the other hand usernames containing colons are, as colons are used to separate the username from the password.
spring-web/src/main/java/org/springframework/http/client/support/BasicAuthorizationInterceptor.java
@@ -46,9 +46,9 @@ public class BasicAuthorizationInterceptor implements ClientHttpRequestIntercept * @param username the username to use * @param password the password to use */ - public BasicAuthorizationInterceptor(String username, @Nullable String password) { - Assert.hasLength(username, "Username must not...
true
Other
spring-projects
spring-framework
4dee333a75121f4f6ceb4f62e2da4744a6fda2c6.json
Allow empty usernames for BasicAuth The RFCs around basic authentication don't explicitly disallow empty usernames. On the other hand usernames containing colons are, as colons are used to separate the username from the password.
spring-web/src/test/java/org/springframework/http/client/support/BasicAuthorizationInterceptorTests.java
@@ -43,17 +43,17 @@ public class BasicAuthorizationInterceptorTests { public ExpectedException thrown = ExpectedException.none(); @Test - public void createWhenUsernameIsNullShouldThrowException() { + public void createWhenUsernameContainsColonShouldThrowException() { this.thrown.expect(IllegalArgumentExceptio...
true
Other
spring-projects
spring-framework
d9ede5bcca6ec80a0558e408252fbb5b3e281aa7.json
Remove link to build and release FAQ The "Build from Source" wiki page now consolidates build-related information and is independent from "Release" information. The former is broadly of interest to any contributor. The later is of interest to committers.
README.md
@@ -31,8 +31,7 @@ There are also [guides and tutorials](https://spring.io/guides) across Spring pr ## Build from Source See the [Build from Source](https://github.com/spring-projects/spring-framework/wiki/Build-from-Source) -wiki page, also [CONTRIBUTING](CONTRIBUTING.md), and the -[Gradle build and release FAQ](ht...
false
Other
spring-projects
spring-framework
9d00552aac857b1a3fafa1d19cb856c1c50b70b9.json
Add logo to README
README.md
@@ -1,6 +1,7 @@ -This is the home of the Spring Framework that underlies all -[Spring projects](https://spring.io/projects). Collectively the Spring Framework and the -family of related Spring projects make up what we call "Spring". +# <img src="src/docs/asciidoc/images/spring-framework.png" width="80" height="80"> Spr...
false
Other
spring-projects
spring-framework
f965123513bfa04780404abb19bd66bbaa5a655f.json
Correct SpEL example (matching its comment) Issue: SPR-16111
src/docs/asciidoc/core/core-expressions.adoc
@@ -776,7 +776,7 @@ on literals. Varargs are also supported. [subs="verbatim,quotes"] ---- // string literal, evaluates to "bc" - String c = parser.parseExpression("'abc'.substring(2, 3)").getValue(String.class); + String bc = parser.parseExpression("'abc'.substring(1, 3)").getValue(String.class); // evaluates ...
false
Other
spring-projects
spring-framework
b1068fe71e80515f501305e1732ef01b9763d12b.json
Replace TOC with manual listing Essentially optimize for viewing on Github since the Asciidoctor TOC works but doesn't look good with no styling.
CONTRIBUTING.adoc
@@ -1,10 +1,18 @@ [[contributing]] # Contributing to the Spring Framework -:toc: preamble -:toclevels: 4 First off, thank you for taking the time to contribute! +**Table of Contents** + +* <<conduct>> +* <<how>> +** <<how-question>> +** <<how-ticket>> +** <<how-pull-request>> +* <<code-style>> +* <<documentatio...
false
Other
spring-projects
spring-framework
159da04eed43fe643f6df8a0af65f6b3801ca919.json
Fix wrong javadoc example Closes gh-1575
spring-context/src/main/java/org/springframework/context/annotation/Primary.java
@@ -47,18 +47,18 @@ * } * * &#064;Component - * public class JdbcFooRepository { + * public class JdbcFooRepository extends FooRepository { * - * public JdbcFooService(DataSource dataSource) { + * public JdbcFooRepository(DataSource dataSource) { * // ... * } * } * * &#064;Primary ...
false
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-aop/src/main/java/org/springframework/aop/target/CommonsPool2TargetSource.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2017 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,6 +24,7 @@ import org.apache.commons.po...
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcTemplate.java
@@ -446,14 +446,12 @@ public void query(String sql, RowCallbackHandler rch) throws DataAccessException @Override public <T> List<T> query(String sql, RowMapper<T> rowMapper) throws DataAccessException { - List<T> result = query(sql, new RowMapperResultSetExtractor<>(rowMapper)); - Assert.state(result != null, "...
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplate.java
@@ -246,12 +246,16 @@ public <T> T queryForObject(String sql, Map<String, ?> paramMap, Class<T> requir @Override public Map<String, Object> queryForMap(String sql, SqlParameterSource paramSource) throws DataAccessException { - return queryForObject(sql, paramSource, new ColumnMapRowMapper()); + Map<String, Obje...
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-jms/src/main/java/org/springframework/jms/listener/adapter/MessageListenerAdapter.java
@@ -216,11 +216,6 @@ public void onMessage(Message message, @Nullable Session session) throws JMSExce // Regular case: find a handler method reflectively. Object convertedMessage = extractMessage(message); String methodName = getListenerMethodName(message, convertedMessage); - if (methodName == null) { - th...
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessageListenerAdapterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2017 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. @@ -19,7 +19,6 @@ import java.io.ByteArrayInpu...
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-web/src/main/java/org/springframework/http/MediaType.java
@@ -525,7 +525,7 @@ public static MediaType parseMediaType(String mediaType) { * @return the list of media types * @throws InvalidMediaTypeException if the media type value cannot be parsed */ - public static List<MediaType> parseMediaTypes(String mediaTypes) { + public static List<MediaType> parseMediaTypes(@...
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-webflux/src/main/java/org/springframework/web/reactive/result/condition/AbstractNameValueExpression.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2017 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. @@ -17,6 +17,7 @@ package org.springframework....
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-webflux/src/main/java/org/springframework/web/reactive/result/condition/HeadersRequestCondition.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2017 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. @@ -159,12 +159,12 @@ protected String parseVal...
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-webflux/src/main/java/org/springframework/web/reactive/result/condition/ParamsRequestCondition.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2017 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. @@ -146,7 +146,8 @@ protected boolean matchName...
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-webflux/src/main/java/org/springframework/web/reactive/result/view/DefaultRendering.java
@@ -54,6 +54,7 @@ class DefaultRendering implements Rendering { @Override + @Nullable public Object view() { return this.view; }
true
Other
spring-projects
spring-framework
47a7475898fc918e2f945206e3364bdaab2bb39f.json
Resolve remaining nullability warnings Issue: SPR-15869
spring-webflux/src/main/java/org/springframework/web/reactive/result/view/Rendering.java
@@ -46,6 +46,7 @@ public interface Rendering { /** * Return the selected {@link String} view name or {@link View} object. */ + @Nullable Object view(); /**
true
Other
spring-projects
spring-framework
10dcaa9bf67702fbef799a0532ef33e4e2b9c89c.json
Update introduction to Spring Web MVC Issue: SPR-15149
src/docs/asciidoc/index.adoc
@@ -29,7 +29,7 @@ This reference document provides the following sections: * <<data-access.adoc#spring-data-tier,Data access and transaction management>> -* <<web.adoc#spring-web,Web frameworks>> +* <<web.adoc#spring-web,The Web>> * <<integration.adoc#spring-integration,Integration with other technologies>>
true
Other
spring-projects
spring-framework
10dcaa9bf67702fbef799a0532ef33e4e2b9c89c.json
Update introduction to Spring Web MVC Issue: SPR-15149
src/docs/asciidoc/web.adoc
@@ -11,7 +11,7 @@ or on a reactive stack (Reactive Streams API + non-blocking runtime). The first few chapters cover the Servlet-based <<mvc,Spring MVC>> web framework including <<view,Views>>, <<cors,CORS>>, and <<websocket,WebSocket>> support. Subsequent chapters cover the <<webflux,Spring WebFlux>> reactive web f...
true
Other
spring-projects
spring-framework
10dcaa9bf67702fbef799a0532ef33e4e2b9c89c.json
Update introduction to Spring Web MVC Issue: SPR-15149
src/docs/asciidoc/web/web-integration.adoc
@@ -6,24 +6,6 @@ [[intro]] == Introduction -.Spring Web Flow -**** -Spring Web Flow (SWF) aims to be the best solution for the management of web application -page flow. - -SWF integrates with existing frameworks like Spring MVC and JSF, in both Servlet and -Portlet environments. If you have a business process (or p...
true
Other
spring-projects
spring-framework
10dcaa9bf67702fbef799a0532ef33e4e2b9c89c.json
Update introduction to Spring Web MVC Issue: SPR-15149
src/docs/asciidoc/web/web-mvc.adoc
@@ -3,336 +3,198 @@ :doc-spring-security: {doc-root}/spring-security/site/docs/current/reference [[mvc-introduction]] -== Introduction to Spring Web MVC framework -The Spring Web model-view-controller (MVC) framework is designed around a -`DispatcherServlet` that dispatches requests to handlers, with configurable h...
true
Other
spring-projects
spring-framework
645e3492dba42ec14553fca642344cafba571ed0.json
Use URLDecoder for query params in WebFlux Issue: SPR-15860
spring-web/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpRequest.java
@@ -16,11 +16,15 @@ package org.springframework.http.server.reactive; +import java.io.UnsupportedEncodingException; import java.net.URI; -import java.nio.charset.StandardCharsets; +import java.net.URLDecoder; import java.util.regex.Matcher; import java.util.regex.Pattern; +import org.apache.commons.logging.Lo...
true
Other
spring-projects
spring-framework
645e3492dba42ec14553fca642344cafba571ed0.json
Use URLDecoder for query params in WebFlux Issue: SPR-15860
spring-web/src/test/java/org/springframework/http/server/reactive/ServerHttpRequestTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2017 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. @@ -68,7 +68,7 @@ public void queryParamsWithMu...
true
Other
spring-projects
spring-framework
645e3492dba42ec14553fca642344cafba571ed0.json
Use URLDecoder for query params in WebFlux Issue: SPR-15860
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingIntegrationTests.java
@@ -63,7 +63,7 @@ public void handleWithParam() throws Exception { @Test // SPR-15140 public void handleWithEncodedParam() throws Exception { - String expected = "Hello ++\u00e0!"; + String expected = "Hello + \u00e0!"; assertEquals(expected, performGet("/param?name=%20%2B+%C3%A0", new HttpHeaders(), Strin...
true
Other
spring-projects
spring-framework
8b7a670821793a1bd15cea0fb388deaf88cd2d0e.json
Cancel WebAsyncManager thread on request timeout Issue: SPR-15852
spring-web/src/main/java/org/springframework/web/context/request/async/CallableInterceptorChain.java
@@ -18,6 +18,7 @@ import java.util.List; import java.util.concurrent.Callable; +import java.util.concurrent.Future; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -39,11 +40,19 @@ class CallableInterceptorChain { private int preProcessIndex = -1; + private volatile...
true
Other
spring-projects
spring-framework
8b7a670821793a1bd15cea0fb388deaf88cd2d0e.json
Cancel WebAsyncManager thread on request timeout Issue: SPR-15852
spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncManager.java
@@ -21,6 +21,7 @@ import java.util.List; import java.util.Map; import java.util.concurrent.Callable; +import java.util.concurrent.Future; import java.util.concurrent.RejectedExecutionException; import javax.servlet.http.HttpServletRequest; @@ -314,7 +315,7 @@ public void startCallableProcessing(final WebAsyncTas...
true
Other
spring-projects
spring-framework
8b7a670821793a1bd15cea0fb388deaf88cd2d0e.json
Cancel WebAsyncManager thread on request timeout Issue: SPR-15852
spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTimeoutTests.java
@@ -17,6 +17,7 @@ package org.springframework.web.context.request.async; import java.util.concurrent.Callable; +import java.util.concurrent.Future; import javax.servlet.AsyncEvent; import org.junit.Before; @@ -30,9 +31,12 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertT...
true
Other
spring-projects
spring-framework
181f002ddf22b6b05bd517f57c72f6ec9eeaf0b6.json
Use exact type name in doc sample Issue: SPR-15863
src/docs/asciidoc/web/web-websocket.adoc
@@ -1758,7 +1758,7 @@ user and associate it with subsequent STOMP messages on the same session: MessageHeaderAccessor.getAccessor(message, StompHeaderAccessor.class); if (StompCommand.CONNECT.equals(accessor.getCommand())) { - Principal user = ... ; // access authent...
false
Other
spring-projects
spring-framework
f57e5584af36abe8211df1b89071a0cee68466a3.json
Add a reference to KT-18833 in JDK 9 ignored tests
spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java
@@ -39,7 +39,7 @@ * * @author Sebastien Deleuze */ -@Ignore // for JDK 9 compatibility +@Ignore // for JDK 9 compatibility, see KT-18833 public class KotlinScriptTemplateTests { @Test
true
Other
spring-projects
spring-framework
f57e5584af36abe8211df1b89071a0cee68466a3.json
Add a reference to KT-18833 in JDK 9 ignored tests
spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/KotlinScriptTemplateTests.java
@@ -42,7 +42,7 @@ * * @author Sebastien Deleuze */ -@Ignore // for JDK 9 compatibility +@Ignore // for JDK 9 compatibility, see KT-18833 public class KotlinScriptTemplateTests { private WebApplicationContext webAppContext;
true
Other
spring-projects
spring-framework
af83d2332a0011d83a4a775d57e2d28b9eb53bee.json
Fix regression in HttpPutFormContentFilter Re-arrange the checks so that if there is no form parameter, then immediately and unconditionally delegate to super.getParameterValues(). Or reversely if there is no super.getParameterValues() then return the form parameter. So the only remaining case is when combining value...
spring-web/src/main/java/org/springframework/web/filter/HttpPutFormContentFilter.java
@@ -98,12 +98,14 @@ public InputStream getBody() throws IOException { } }; MultiValueMap<String, String> formParameters = this.formConverter.read(null, inputMessage); - HttpServletRequest wrapper = new HttpPutFormContentRequestWrapper(request, formParameters); - filterChain.doFilter(wrapper, response);...
true
Other
spring-projects
spring-framework
af83d2332a0011d83a4a775d57e2d28b9eb53bee.json
Fix regression in HttpPutFormContentFilter Re-arrange the checks so that if there is no form parameter, then immediately and unconditionally delegate to super.getParameterValues(). Or reversely if there is no super.getParameterValues() then return the form parameter. So the only remaining case is when combining value...
spring-web/src/test/java/org/springframework/web/filter/HttpPutFormContentFilterTests.java
@@ -58,7 +58,7 @@ public void setup() { @Test public void wrapPutAndPatchOnly() throws Exception { - request.setContent("".getBytes("ISO-8859-1")); + request.setContent("foo=bar".getBytes("ISO-8859-1")); for (HttpMethod method : HttpMethod.values()) { request.setMethod(method.name()); filterChain = n...
true
Other
spring-projects
spring-framework
0b3ea405ab8a93610286c1de1a393c3fa9cbe071.json
Remove BodyInserters.fromServerSentEvent variants Removed superfluous `fromServerSentEvent` variants from `BodyInserters`, as their functionality can also be obtained by passing a stream of strings or POJOs (to be encoded as JSON) to `fromPublisher(Publisher, Class)}`, and specifying a `text/event-stream` Content-Type...
spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyInserters.java
@@ -149,6 +149,9 @@ private static HttpMessageWriter<Resource> resourceHttpMessageWriter(BodyInserte /** * Return a {@code BodyInserter} that writes the given {@code ServerSentEvent} publisher. + * <p>Note that a SSE {@code BodyInserter} can also be obtained by passing a stream of strings + * or POJOs (to be e...
true
Other
spring-projects
spring-framework
0b3ea405ab8a93610286c1de1a393c3fa9cbe071.json
Remove BodyInserters.fromServerSentEvent variants Removed superfluous `fromServerSentEvent` variants from `BodyInserters`, as their functionality can also be obtained by passing a stream of strings or POJOs (to be encoded as JSON) to `fromPublisher(Publisher, Class)}`, and specifying a `text/event-stream` Content-Type...
spring-webflux/src/test/java/org/springframework/web/reactive/function/BodyInsertersTests.java
@@ -247,17 +247,6 @@ public void ofServerSentEventFlux() throws Exception { StepVerifier.create(result).expectNextCount(0).expectComplete().verify(); } - @Test - public void ofServerSentEventClass() throws Exception { - Flux<String> body = Flux.just("foo"); - BodyInserter<Flux<String>, ServerHttpResponse> inse...
true
Other
spring-projects
spring-framework
0b3ea405ab8a93610286c1de1a393c3fa9cbe071.json
Remove BodyInserters.fromServerSentEvent variants Removed superfluous `fromServerSentEvent` variants from `BodyInserters`, as their functionality can also be obtained by passing a stream of strings or POJOs (to be encoded as JSON) to `fromPublisher(Publisher, Class)}`, and specifying a `text/event-stream` Content-Type...
spring-webflux/src/test/java/org/springframework/web/reactive/function/server/SseHandlerFunctionIntegrationTests.java
@@ -25,6 +25,7 @@ import reactor.test.StepVerifier; import org.springframework.core.ParameterizedTypeReference; +import org.springframework.http.MediaType; import org.springframework.http.codec.ServerSentEvent; import org.springframework.web.reactive.function.client.WebClient; @@ -120,13 +121,17 @@ private stat...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-test/src/main/java/org/springframework/mock/web/reactive/function/server/MockServerRequest.java
@@ -39,8 +39,8 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpRange; import org.springframework.http.MediaType; -import org.springframework.http.server.reactive.PathContainer; -import org.springframework.http.server.reactive.RequestPath; +import org.springframework.http.server.Pat...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/http/server/DefaultPathContainer.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.server.reactive; +package org.springframework.http.server; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets;
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/http/server/DefaultRequestPath.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.server.reactive; +package org.springframework.http.server; import java.net.URI; import java.util.List; @@ -44,7 +44,7 @@ class DefaultRequestPath implements RequestPath { this.pathWithinApplication = extractPathWithinAp...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/http/server/PathContainer.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.http.server.reactive; +package org.springframework.http.server; import java.util.List; @@ -25,8 +25,7 @@ * of {@link Separator Separator} and {@link PathSegment PathSegment} elements. * * <p>An instance of this class can...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/http/server/RequestPath.java
@@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.springframework.http.server.reactive; +package org.springframework.http.server; import java.net.URI; @@ -32,8 +32,10 @@ public interface RequestPath extends PathContainer {...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpRequest.java
@@ -23,6 +23,7 @@ import org.springframework.http.HttpCookie; import org.springframework.http.HttpHeaders; +import org.springframework.http.server.RequestPath; import org.springframework.lang.Nullable; import org.springframework.util.CollectionUtils; import org.springframework.util.LinkedMultiValueMap;
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/http/server/reactive/DefaultServerHttpRequestBuilder.java
@@ -21,6 +21,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; +import org.springframework.http.server.RequestPath; import org.springframework.lang.Nullable; import org.springframework.util.Assert; @@ -110,7 +111,7 @@ private RequestPath getRequestPathToUse(@Nullable ...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpRequest.java
@@ -22,6 +22,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpRequest; import org.springframework.http.ReactiveHttpInputMessage; +import org.springframework.http.server.RequestPath; import org.springframework.lang.Nullable; import org.springframework.util.MultiValueMap;
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpRequestDecorator.java
@@ -25,6 +25,7 @@ import org.springframework.http.HttpCookie; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; +import org.springframework.http.server.RequestPath; import org.springframework.util.Assert; import org.springframework.util.MultiValueMap;
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/cors/reactive/UrlBasedCorsConfigurationSource.java
@@ -19,7 +19,7 @@ import java.util.LinkedHashMap; import java.util.Map; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.lang.Nullable; import org.springframework.web.cors.CorsConfiguration; import org.springframewor...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/util/pattern/CaptureTheRestPathElement.java
@@ -18,8 +18,8 @@ import java.util.List; -import org.springframework.http.server.reactive.PathContainer.Element; -import org.springframework.http.server.reactive.PathContainer.UrlPathSegment; +import org.springframework.http.server.PathContainer.Element; +import org.springframework.http.server.PathContainer.UrlPat...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/util/pattern/CaptureVariablePathElement.java
@@ -19,7 +19,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.springframework.http.server.reactive.PathContainer.UrlPathSegment; +import org.springframework.http.server.PathContainer.UrlPathSegment; import org.springframework.lang.Nullable; /**
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/util/pattern/LiteralPathElement.java
@@ -16,9 +16,9 @@ package org.springframework.web.util.pattern; -import org.springframework.http.server.reactive.PathContainer; -import org.springframework.http.server.reactive.PathContainer.Element; -import org.springframework.http.server.reactive.PathContainer.PathSegment; +import org.springframework.http.server...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/util/pattern/ParsingPathMatcher.java
@@ -23,7 +23,7 @@ import java.util.concurrent.ConcurrentMap; import java.util.stream.Collectors; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.lang.Nullable; import org.springframework.util.PathMatcher; import org...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java
@@ -21,9 +21,9 @@ import java.util.List; import java.util.Map; -import org.springframework.http.server.reactive.PathContainer; -import org.springframework.http.server.reactive.PathContainer.Element; -import org.springframework.http.server.reactive.PathContainer.Separator; +import org.springframework.http.server.Pat...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/util/pattern/RegexPathElement.java
@@ -21,7 +21,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.springframework.http.server.reactive.PathContainer.UrlPathSegment; +import org.springframework.http.server.PathContainer.UrlPathSegment; import org.springframework.web.util.pattern.PathPattern.MatchingContext; /**
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/util/pattern/SingleCharWildcardedPathElement.java
@@ -16,8 +16,8 @@ package org.springframework.web.util.pattern; -import org.springframework.http.server.reactive.PathContainer.Element; -import org.springframework.http.server.reactive.PathContainer.PathSegment; +import org.springframework.http.server.PathContainer.Element; +import org.springframework.http.server....
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/main/java/org/springframework/web/util/pattern/WildcardPathElement.java
@@ -16,8 +16,8 @@ package org.springframework.web.util.pattern; -import org.springframework.http.server.reactive.PathContainer; -import org.springframework.http.server.reactive.PathContainer.Element; +import org.springframework.http.server.PathContainer; +import org.springframework.http.server.PathContainer.Elemen...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/test/java/org/springframework/http/server/DefaultPathContainerTests.java
@@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.springframework.http.server.reactive; +package org.springframework.http.server; import java.util.Arrays; import java.util.Collections; @@ -22,7 +22,7 @@ import org.junit....
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/test/java/org/springframework/http/server/DefaultRequestPathTests.java
@@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.springframework.http.server.reactive; +package org.springframework.http.server; import java.net.URI;
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternMatcherTests.java
@@ -29,8 +29,8 @@ import org.junit.Test; import org.junit.rules.ExpectedException; -import org.springframework.http.server.reactive.PathContainer; -import org.springframework.http.server.reactive.PathContainer.Element; +import org.springframework.http.server.PathContainer; +import org.springframework.http.server.Pa...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternParserTests.java
@@ -22,7 +22,7 @@ import org.junit.Test; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.web.util.pattern.PathPattern.PathMatchResult; import org.springframework.web.util.pattern.PatternParseException.PatternMessage...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/config/PathMatchConfigurer.java
@@ -30,6 +30,7 @@ public class PathMatchConfigurer { @Nullable private Boolean trailingSlashMatch; + @Nullable private Boolean caseSensitiveMatch;
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultServerRequest.java
@@ -39,7 +39,7 @@ import org.springframework.http.HttpRange; import org.springframework.http.MediaType; import org.springframework.http.codec.HttpMessageReader; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.http.serv...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/PathResourceLookupFunction.java
@@ -26,7 +26,7 @@ import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import org.springframework.core.io.UrlResource; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.util....
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java
@@ -39,7 +39,7 @@ import org.springframework.http.HttpCookie; import org.springframework.http.HttpMethod; import org.springframework.http.MediaType; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.http.server.reactive....
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerRequest.java
@@ -37,7 +37,7 @@ import org.springframework.http.MediaType; import org.springframework.http.codec.HttpMessageReader; import org.springframework.http.codec.json.Jackson2CodecSupport; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.spr...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/support/ServerRequestWrapper.java
@@ -35,7 +35,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpRange; import org.springframework.http.MediaType; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.http.server.reactive.S...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/handler/AbstractUrlHandlerMapping.java
@@ -24,7 +24,7 @@ import reactor.core.publisher.Mono; import org.springframework.beans.BeansException; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.lang.Nullable; import org.springframework.util.Assert; import or...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceUrlProvider.java
@@ -31,7 +31,7 @@ import org.springframework.context.ApplicationListener; import org.springframework.context.event.ContextRefreshedEvent; import org.springframework.core.annotation.AnnotationAwareOrderComparator; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server....
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java
@@ -41,7 +41,7 @@ import org.springframework.http.MediaType; import org.springframework.http.MediaTypeFactory; import org.springframework.http.codec.ResourceHttpMessageWriter; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springfram...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/result/condition/PatternsRequestCondition.java
@@ -27,7 +27,7 @@ import java.util.TreeSet; import java.util.stream.Collectors; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.lang.Nullable; import org.springframework.web.server.ServerWebExchange; import org.spri...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/RequestMappingInfoHandlerMapping.java
@@ -31,7 +31,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.InvalidMediaTypeException; import org.springframework.http.MediaType; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.http.s...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/test/java/org/springframework/web/reactive/config/ResourceHandlerRegistryTests.java
@@ -31,7 +31,7 @@ import org.springframework.context.support.GenericApplicationContext; import org.springframework.core.io.buffer.support.DataBufferTestUtils; import org.springframework.http.CacheControl; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathCont...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/test/java/org/springframework/web/reactive/function/server/MockServerRequest.java
@@ -39,8 +39,8 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpRange; import org.springframework.http.MediaType; -import org.springframework.http.server.reactive.PathContainer; -import org.springframework.http.server.reactive.RequestPath; +import org.springframework.http.server.Pat...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/test/java/org/springframework/web/reactive/handler/SimpleUrlHandlerMappingTests.java
@@ -24,7 +24,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.http.HttpMethod; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; ...
true
Other
spring-projects
spring-framework
6855a85c41a51aeb151c8c1103e30a6a6745197b.json
Move RequestPath to parent server package
spring-webflux/src/test/java/org/springframework/web/reactive/resource/ResourceWebHandlerTests.java
@@ -44,7 +44,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; -import org.springframework.http.server.reactive.PathContainer; +import org.springframework.http.server.PathContainer; import org.springframework.mock.http.server.reac...
true
Other
spring-projects
spring-framework
f6ea7407e6cd2f4da52187dfb8503143633002c8.json
Improve docs on client-side multipart requests Issue: SPR-16635
src/docs/asciidoc/integration.adoc
@@ -1247,6 +1247,44 @@ to serialize only a subset of the object properties. For example: ResponseEntity<String> response = template.exchange(requestEntity, String.class); ---- +[[rest-template-multipart]] +===== Multipart + +To send multipart data, you need to provide a `MultiValueMap<String, ?>` whose values are ...
true
Other
spring-projects
spring-framework
f6ea7407e6cd2f4da52187dfb8503143633002c8.json
Improve docs on client-side multipart requests Issue: SPR-16635
src/docs/asciidoc/web/webflux-webclient.adoc
@@ -22,8 +22,10 @@ By comparison to the <<integration.adoc#rest-resttemplate,RestTemplate>>, the * supports both synchronous and asynchronous scenarios. * supports streaming up or down from a server. -For most concurrent scenarios, e.g. a sequence of possibly inter-dependent HTTP calls, -or for making remote calls ...
true
Other
spring-projects
spring-framework
d007c25585517d59be4d72a5004f837a9e1205d3.json
Improve docs on RestTemplate In preparation for adding multipart content. Issue: SPR-16635
src/docs/asciidoc/integration.adoc
@@ -946,9 +946,9 @@ plugging in third-party or custom solutions here. [[rest-client-access]] -=== Accessing REST endpoints +=== REST Endpoints -The Spring Framework has two choices for client-side access to REST endpoints: +The Spring Framework provides two choices for making calls to REST endpoints: * <<rest...
false
Other
spring-projects
spring-framework
d3a0a8e0078df5f152d9e5f802683614a0018182.json
Use Collection.removeIf() where possible (#1747) Use Collection.removeIf() where possible Issue: SPR-16622
spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/target/AbstractBeanFactoryBasedTargetSourceCreator.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. @@ -17,7 +17,6 @@ package org.springframework....
true
Other
spring-projects
spring-framework
d3a0a8e0078df5f152d9e5f802683614a0018182.json
Use Collection.removeIf() where possible (#1747) Use Collection.removeIf() where possible Issue: SPR-16622
spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java
@@ -21,7 +21,6 @@ import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.util.Collections; -import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; @@ -150,24 +149,12 @@ public static void acceptClassLoader(@Nullable ClassLoader classLoade...
true
Other
spring-projects
spring-framework
d3a0a8e0078df5f152d9e5f802683614a0018182.json
Use Collection.removeIf() where possible (#1747) Use Collection.removeIf() where possible Issue: SPR-16622
spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java
@@ -27,7 +27,6 @@ import java.util.Collections; import java.util.HashMap; import java.util.HashSet; -import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.LinkedList; @@ -1338,12 +1337,7 @@ protected void clearMergedBeanDefinition(String beanName) { * @sinc...
true
Other
spring-projects
spring-framework
d3a0a8e0078df5f152d9e5f802683614a0018182.json
Use Collection.removeIf() where possible (#1747) Use Collection.removeIf() where possible Issue: SPR-16622
spring-context/src/main/java/org/springframework/scripting/support/ScriptFactoryPostProcessor.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. @@ -17,7 +17,6 @@ package org.springframework....
true
Other
spring-projects
spring-framework
d3a0a8e0078df5f152d9e5f802683614a0018182.json
Use Collection.removeIf() where possible (#1747) Use Collection.removeIf() where possible Issue: SPR-16622
spring-messaging/src/main/java/org/springframework/messaging/simp/user/MultiServerUserRegistry.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,7 +21,6 @@ import java.util.Collections...
true
Other
spring-projects
spring-framework
d3a0a8e0078df5f152d9e5f802683614a0018182.json
Use Collection.removeIf() where possible (#1747) Use Collection.removeIf() where possible Issue: SPR-16622
spring-webflux/src/main/java/org/springframework/web/reactive/result/condition/ConsumesRequestCondition.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. @@ -19,7 +19,6 @@ import java.util.ArrayList; ...
true
Other
spring-projects
spring-framework
d3a0a8e0078df5f152d9e5f802683614a0018182.json
Use Collection.removeIf() where possible (#1747) Use Collection.removeIf() where possible Issue: SPR-16622
spring-webflux/src/main/java/org/springframework/web/reactive/result/condition/ProducesRequestCondition.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. @@ -19,7 +19,6 @@ import java.util.ArrayList; ...
true
Other
spring-projects
spring-framework
94c525cdc84209dd079c1e62f8aeed36bf15619c.json
Polish @RequestPart support
spring-core/src/main/java/org/springframework/util/MimeTypeUtils.java
@@ -312,6 +312,9 @@ public static void sortBySpecificity(List<MimeType> mimeTypes) { } } + + + /** * Generate a random MIME boundary as bytes, often used in multipart mime types. */
true
Other
spring-projects
spring-framework
94c525cdc84209dd079c1e62f8aeed36bf15619c.json
Polish @RequestPart support
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/RequestPartMethodArgumentResolver.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,7 +16,6 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
94c525cdc84209dd079c1e62f8aeed36bf15619c.json
Polish @RequestPart support
src/docs/asciidoc/web/webflux.adoc
@@ -1789,27 +1789,26 @@ Content-Transfer-Encoding: 8bit ... File Data ... ---- -You can access the "meta-data" part with `@RequestPart` which would deserialize it from -JSON (similar to `@RequestBody`) through one of the configured <<webflux-codecs>>: +You can access individual parts with `@RequestPart`: [source...
true
Other
spring-projects
spring-framework
2ff35daf9bc83a89c6ca579e4440e48627b9a56a.json
Add test case based on SPR-16615
spring-core/src/test/java/org/springframework/core/codec/StringDecoderTests.java
@@ -34,6 +34,7 @@ import static org.junit.Assert.*; /** + * Unit tests for {@link StringDecoder}. * @author Sebastien Deleuze * @author Brian Clozel * @author Mark Paluch @@ -45,16 +46,25 @@ public class StringDecoderTests extends AbstractDataBufferAllocatingTestCase { @Test public void canDecode() { - ...
false