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 | e04ca3d6714e6ff7a81cfc2994f3588c8188dd95.json | Improve RequestPartMethodArgumentResolver Javadoc
Closes gh-27043 | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestPartMethodArgumentResolver.java | @@ -58,8 +58,9 @@
* it is derived from the name of the method argument.
*
* <p>Automatic validation may be applied if the argument is annotated with
- * {@code @javax.validation.Valid}. In case of validation failure, a {@link MethodArgumentNotValidException}
- * is raised and a 400 response status code returned i... | false |
Other | spring-projects | spring-framework | 2fc47d8752591da6d8533261c8ce858e0184a196.json | Improve RequestResponseBodyMethodProcessor Javadoc
Closes gh-27042 | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessor.java | @@ -51,7 +51,8 @@
* to the body of the request or response with an {@link HttpMessageConverter}.
*
* <p>An {@code @RequestBody} method argument is also validated if it is annotated
- * with {@code @javax.validation.Valid}. In case of validation failure,
+ * with {@code @javax.validation.Valid}, Spring's {@link or... | false |
Other | spring-projects | spring-framework | c7c35aff428eecdaef31b37d5efb08cac6ac0cb3.json | Fix missing attribute in reference documentation
This commit adds the missing `spring-framework-main-code` asciidoctor
attribute in the reference documentation.
Fixes gh-27041 | gradle/docs.gradle | @@ -143,7 +143,8 @@ asciidoctorj {
'highlightjs-theme': 'googlecode',
stylesdir: 'css/',
stylesheet: 'stylesheet.css',
- 'spring-version': project.version
+ 'spring-version': project.version,
+ 'spring-framework-main-code': 'https://github.com/spring-projects/spring-framework/tree/main'
])
}
| true |
Other | spring-projects | spring-framework | c7c35aff428eecdaef31b37d5efb08cac6ac0cb3.json | Fix missing attribute in reference documentation
This commit adds the missing `spring-framework-main-code` asciidoctor
attribute in the reference documentation.
Fixes gh-27041 | src/docs/asciidoc/index.adoc | @@ -1,9 +1,4 @@
= Spring Framework Documentation
-:doc-root: https://docs.spring.io
-:github-repo: spring-projects/spring-framework
-
-:api-spring-framework: {doc-root}/spring-framework/docs/{spring-version}/javadoc-api/org/springframework
-:spring-framework-main-code: https://github.com/{github-repo}/tree/main
***... | true |
Other | spring-projects | spring-framework | cc2b980e5c4255d0ddb6fd4900ec740c8acde14d.json | Update MockMvc default for suffixPattern matching
Closes gh-27030 | spring-test/src/main/java/org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilder.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -130,7 +130,7 @@ public class StandaloneMock... | false |
Other | spring-projects | spring-framework | 708e61a7efbe727f91cc385c8d70a31f2fb0e972.json | Fix WebMvcConfigurationSupport javadoc | spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java | @@ -145,6 +145,8 @@
* for processing requests with {@link HttpRequestHandler HttpRequestHandlers}.
* <li>{@link SimpleControllerHandlerAdapter}
* for processing requests with interface-based {@link Controller Controllers}.
+ * <li>{@link HandlerFunctionAdapter}
+ * for processing requests with {@linkplain org.spr... | false |
Other | spring-projects | spring-framework | 3fa4e4168d4562f0b59a324ef6f06a7d32f4a196.json | Remove redundant Collections.unmodifiableList() | spring-web/src/main/java/org/springframework/web/cors/CorsConfiguration.java | @@ -57,16 +57,13 @@ public class CorsConfiguration {
/** Wildcard representing <em>all</em> origins, methods, or headers. */
public static final String ALL = "*";
- private static final List<String> ALL_LIST = Collections.unmodifiableList(
- Collections.singletonList(ALL));
+ private static final List<String> A... | false |
Other | spring-projects | spring-framework | 345d8186d4a2153e20a2e13c21ea8686987a0031.json | Add more test cases for SimpleAliasRegistry
Closes gh-26982 | spring-core/src/test/java/org/springframework/core/SimpleAliasRegistryTests.java | @@ -60,4 +60,28 @@ void aliasChainingWithMultipleAliases() {
assertThat(registry.hasAlias("real_name", "alias_c")).isTrue();
}
+ @Test
+ void removeAliasTest() {
+ SimpleAliasRegistry registry = new SimpleAliasRegistry();
+ registry.registerAlias("realname", "nickname");
+ assertThat(registry.hasAlias("realna... | false |
Other | spring-projects | spring-framework | 821ecb4cfd0b3a782092fdda4dc05e1b161a7aa7.json | Update Javadoc for CookieValue
See gh-26989 | spring-web/src/main/java/org/springframework/web/bind/annotation/CookieValue.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2021 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,11 +25,15 @@
import org.springframework... | false |
Other | spring-projects | spring-framework | 5204d736f3a93ae274dd535c7dd17cc2e6532c7b.json | Return static DefaultApplicationStartup step
This commit ensures that `DefaultApplicationStartup` returns a static
step for each call to avoid allocations.
Closes gh-26939 | spring-core/src/main/java/org/springframework/core/metrics/DefaultApplicationStartup.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -29,16 +29,16 @@
*/
class DefaultApplicat... | false |
Other | spring-projects | spring-framework | f45a852aca521379fc2bf39c3dfc7fc1f0460b90.json | Fix typo in code example
See gh-26980 | src/docs/asciidoc/web/webflux-functional.adoc | @@ -181,7 +181,7 @@ The following example shows how to access form data:
[source,java,role="primary"]
.Java
----
-Mono<MultiValueMap<String, String> map = request.formData();
+Mono<MultiValueMap<String, String>> map = request.formData();
----
[source,kotlin,role="secondary"]
.Kotlin
@@ -194,7 +194,7 @@ The follow... | false |
Other | spring-projects | spring-framework | 4049951c039ef08b3047cbf1db264b6090fc09dd.json | Update copyright year of changed file
See gh-26973 | spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2021 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. | false |
Other | spring-projects | spring-framework | ab2c78a9d58f38a5cc7f8e9ba27555b9ee2aa65a.json | Fix broken Javadoc tags
Closes gh-26967 | spring-core/src/main/java/org/springframework/util/ClassUtils.java | @@ -1322,7 +1322,7 @@ public static Method getInterfaceMethodIfPossible(Method method) {
* Note that, despite being synthetic, bridge methods ({@link Method#isBridge()}) are considered
* as user-level methods since they are eventually pointing to a user-declared generic method.
* @param method the method to ch... | true |
Other | spring-projects | spring-framework | ab2c78a9d58f38a5cc7f8e9ba27555b9ee2aa65a.json | Fix broken Javadoc tags
Closes gh-26967 | spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompClientSupport.java | @@ -29,7 +29,7 @@
* Base class for STOMP client implementations.
*
* <p>Subclasses can connect over WebSocket or TCP using any library. When creating
- * a new connection, a subclass can create an instance of @link DefaultStompSession}
+ * a new connection, a subclass can create an instance of {@link DefaultStomp... | true |
Other | spring-projects | spring-framework | ab2c78a9d58f38a5cc7f8e9ba27555b9ee2aa65a.json | Fix broken Javadoc tags
Closes gh-26967 | spring-r2dbc/src/main/java/org/springframework/r2dbc/connection/R2dbcTransactionManager.java | @@ -88,7 +88,7 @@ public class R2dbcTransactionManager extends AbstractReactiveTransactionManager
/**
- * Create a new @link ConnectionFactoryTransactionManager} instance.
+ * Create a new {@link R2dbcTransactionManager} instance.
* A ConnectionFactory has to be set to be able to use it.
* @see #setConnec... | true |
Other | spring-projects | spring-framework | ab2c78a9d58f38a5cc7f8e9ba27555b9ee2aa65a.json | Fix broken Javadoc tags
Closes gh-26967 | spring-r2dbc/src/main/java/org/springframework/r2dbc/connection/SingleConnectionFactory.java | @@ -108,8 +108,8 @@ public SingleConnectionFactory(String url, boolean suppressClose) {
* @param target underlying target {@link Connection}.
* @param metadata {@link ConnectionFactory} metadata to be associated with this {@link ConnectionFactory}.
* @param suppressClose if the {@link Connection} should be wra... | true |
Other | spring-projects | spring-framework | ab2c78a9d58f38a5cc7f8e9ba27555b9ee2aa65a.json | Fix broken Javadoc tags
Closes gh-26967 | spring-web/src/main/java/org/springframework/web/bind/annotation/CrossOrigin.java | @@ -88,7 +88,7 @@
/**
* Alternative to {@link #origins()} that supports more flexible origins
- * patterns. Please, see @link CorsConfiguration#setAllowedOriginPatterns(List)}
+ * patterns. Please, see {@link CorsConfiguration#setAllowedOriginPatterns(List)}
* for details.
* <p>By default this is not set... | true |
Other | spring-projects | spring-framework | ab2c78a9d58f38a5cc7f8e9ba27555b9ee2aa65a.json | Fix broken Javadoc tags
Closes gh-26967 | spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupViewResolver.java | @@ -22,7 +22,7 @@
import org.springframework.web.servlet.view.AbstractUrlBasedView;
/**
- * Convenience subclass of @link AbstractTemplateViewResolver} that supports
+ * Convenience subclass of {@link AbstractTemplateViewResolver} that supports
* {@link GroovyMarkupView} (i.e. Groovy XML/XHTML markup templates) a... | true |
Other | spring-projects | spring-framework | aaa10e9060d274b346ca9875864733d2e83de094.json | Simplify HashMap declaration in test fixture
Co-authored-by: kuanghc1 <kuanghc1@lenovo.com>
Closes gh-27900 | spring-aop/src/testFixtures/java/org/springframework/aop/testfixture/advice/MethodCounter.java | @@ -19,6 +19,7 @@
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.HashMap;
+import java.util.Map;
/**
* Abstract superclass for counting advices etc.
@@ -31,7 +32,7 @@
public class MethodCounter implements Serializable {
/** Method name --> count, does not understand overload... | false |
Other | spring-projects | spring-framework | ee292ec116155878bc193bca1ecdc49ea676ebbc.json | Replace use of StringBuffer with StringBuilder
With JDK 9, java.util.regex.Matcher received overloaded variants of
appendReplacement() and appendTail() that accept a StringBuilder,
allowing us to replace the use of StringBuffer with StringBuilder.
Closes gh-27884 | spring-aop/src/main/java/org/springframework/aop/interceptor/CustomizableTraceInterceptor.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -299,7 +299,7 @@ protected String replacePla... | false |
Other | spring-projects | spring-framework | 948f5999c3dc8bc82c7b0476954a08fe9ed2011c.json | Replace use of StringBuffer with StringBuilder
With JDK 9, java.util.regex.Matcher received overloaded variants of
appendReplacement() and appendTail() that accept a StringBuilder,
allowing us to replace the use of StringBuffer with StringBuilder.
Closes gh-27822 | spring-messaging/src/main/java/org/springframework/messaging/rsocket/MetadataEncoder.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -102,7 +102,7 @@ private static String expan... | true |
Other | spring-projects | spring-framework | 948f5999c3dc8bc82c7b0476954a08fe9ed2011c.json | Replace use of StringBuffer with StringBuilder
With JDK 9, java.util.regex.Matcher received overloaded variants of
appendReplacement() and appendTail() that accept a StringBuilder,
allowing us to replace the use of StringBuffer with StringBuilder.
Closes gh-27822 | spring-web/src/main/java/org/springframework/web/util/UriComponents.java | @@ -256,7 +256,7 @@ static String expandUriComponent(@Nullable String source, UriTemplateVariables u
source = sanitizeSource(source);
}
Matcher matcher = NAMES_PATTERN.matcher(source);
- StringBuffer sb = new StringBuffer();
+ StringBuilder sb = new StringBuilder();
while (matcher.find()) {
String ma... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-beans/src/main/java/org/springframework/beans/BeanUtils.java | @@ -29,7 +29,6 @@
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
-import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
@@ -79,20 +78,15 @@ public abstract class BeanUtils {
private static final Set<Class<?>> unknownEditorTypes =
Colle... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-context/src/main/java/org/springframework/format/datetime/DateTimeFormatAnnotationFormatterFactory.java | @@ -18,9 +18,7 @@
import java.util.ArrayList;
import java.util.Calendar;
-import java.util.Collections;
import java.util.Date;
-import java.util.HashSet;
import java.util.List;
import java.util.Set;
@@ -42,16 +40,7 @@
public class DateTimeFormatAnnotationFormatterFactory extends EmbeddedValueResolutionSuppor... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-context/src/main/java/org/springframework/format/datetime/standard/Jsr310DateTimeFormatAnnotationFormatterFactory.java | @@ -28,8 +28,6 @@
import java.time.format.DateTimeFormatter;
import java.time.temporal.TemporalAccessor;
import java.util.ArrayList;
-import java.util.Collections;
-import java.util.HashSet;
import java.util.List;
import java.util.Set;
@@ -53,22 +51,17 @@
public class Jsr310DateTimeFormatAnnotationFormatterFact... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java | @@ -21,7 +21,6 @@
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.util.Collections;
-import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@@ -70,20 +69,16 @@
*/
final class TypeMappedAnnotation<A extends Annotation> extends Abstrac... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-core/src/main/java/org/springframework/core/convert/support/ByteBufferConverter.java | @@ -17,8 +17,6 @@
package org.springframework.core.convert.support;
import java.nio.ByteBuffer;
-import java.util.Collections;
-import java.util.HashSet;
import java.util.Set;
import org.springframework.core.convert.ConversionService;
@@ -40,17 +38,11 @@ final class ByteBufferConverter implements ConditionalGen... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-core/src/main/java/org/springframework/util/NumberUtils.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2021 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,8 +21,6 @@
import java.text.DecimalForm... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectivePropertyAccessor.java | @@ -23,7 +23,6 @@
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.Collections;
-import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
@@ -65,15 +64,7 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-web/src/main/java/org/springframework/http/codec/json/Jackson2CodecSupport.java | @@ -19,7 +19,6 @@
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedHashMap;
@@ -75,11 +74,10 @@ public abstract class Jackson2CodecSupport {
private static f... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-web/src/main/java/org/springframework/http/codec/multipart/MultipartHttpMessageReader.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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,9 +17,7 @@
package org.springframework.... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufCodecSupport.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2021 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 | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-web/src/main/java/org/springframework/web/cors/CorsConfiguration.java | @@ -18,7 +18,6 @@
import java.time.Duration;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.List;
@@ -65,11 +64,10 @@ public class CorsConfiguration {
private static final List<String> DEFAULT_PERMIT_ALL = Collections.singl... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-web/src/main/java/org/springframework/web/filter/HiddenHttpMethodFilter.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2021 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,8 +17,6 @@
package org.springframework.... | true |
Other | spring-projects | spring-framework | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-web/src/main/java/org/springframework/web/filter/reactive/HiddenHttpMethodFilter.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2021 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 | 941b6af9acada0c85522a1aeb91178f71c2c641a.json | Use Collection factory methods when applicable
This commit replaces the use of Collections.unmodifiableList/Set/Map
with the corresponding 'of(...)' factory methods introduced in Java 9.
Closes gh-27824 | spring-web/src/main/java/org/springframework/web/util/HierarchicalUriComponents.java | @@ -22,7 +22,6 @@
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.StringJoiner;
@@ -898,7 +897,7 @@ public String getPath() {
@Override
public List<String> getPath... | true |
Other | spring-projects | spring-framework | 0b8c815c6f9da128ed472b3bb40b5fe4eff18d21.json | Upgrade Kotlin serialization to 1.3.2
Closes gh-27879 | build.gradle | @@ -35,7 +35,7 @@ configure(allprojects) { project ->
mavenBom "org.eclipse.jetty:jetty-bom:11.0.7"
mavenBom "org.jetbrains.kotlin:kotlin-bom:1.6.10"
mavenBom "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0"
- mavenBom "org.jetbrains.kotlinx:kotlinx-serialization-bom:1.2.2"
+ mavenBom "org.jetbrains... | false |
Other | spring-projects | spring-framework | a410f4c0f2f9ce10eefd1f7141739d362730cd61.json | Upgrade Kotlin Coroutines to 1.6.0
Closes gh-27878 | build.gradle | @@ -34,7 +34,7 @@ configure(allprojects) { project ->
mavenBom "io.rsocket:rsocket-bom:1.1.1"
mavenBom "org.eclipse.jetty:jetty-bom:11.0.7"
mavenBom "org.jetbrains.kotlin:kotlin-bom:1.6.10"
- mavenBom "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.5.2"
+ mavenBom "org.jetbrains.kotlinx:kotlinx-coroutin... | true |
Other | spring-projects | spring-framework | a410f4c0f2f9ce10eefd1f7141739d362730cd61.json | Upgrade Kotlin Coroutines to 1.6.0
Closes gh-27878 | spring-messaging/src/main/kotlin/org/springframework/messaging/rsocket/RSocketRequesterExtensions.kt | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2021 the original author or authors.
+ * Copyright 2002-2022 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,8 +19,8 @@ package org.springframework.m... | true |
Other | spring-projects | spring-framework | a410f4c0f2f9ce10eefd1f7141739d362730cd61.json | Upgrade Kotlin Coroutines to 1.6.0
Closes gh-27878 | spring-r2dbc/src/main/kotlin/org/springframework/r2dbc/core/DatabaseClientExtensions.kt | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2021 the original author or authors.
+ * Copyright 2002-2022 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,7 @@
package org.springframewor... | true |
Other | spring-projects | spring-framework | a410f4c0f2f9ce10eefd1f7141739d362730cd61.json | Upgrade Kotlin Coroutines to 1.6.0
Closes gh-27878 | spring-r2dbc/src/main/kotlin/org/springframework/r2dbc/core/RowsFetchSpecExtensions.kt | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2021 the original author or authors.
+ * Copyright 2002-2022 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,7 @@ package org.springframework.r... | true |
Other | spring-projects | spring-framework | a410f4c0f2f9ce10eefd1f7141739d362730cd61.json | Upgrade Kotlin Coroutines to 1.6.0
Closes gh-27878 | spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/client/ClientResponseExtensions.kt | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2021 the original author or authors.
+ * Copyright 2002-2022 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,7 @@
package org.springframework.... | true |
Other | spring-projects | spring-framework | a410f4c0f2f9ce10eefd1f7141739d362730cd61.json | Upgrade Kotlin Coroutines to 1.6.0
Closes gh-27878 | spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/client/WebClientExtensions.kt | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2021 the original author or authors.
+ * Copyright 2002-2022 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.
@@ -20,7 +20,7 @@ import kotlinx.coroutines.Dis... | true |
Other | spring-projects | spring-framework | a410f4c0f2f9ce10eefd1f7141739d362730cd61.json | Upgrade Kotlin Coroutines to 1.6.0
Closes gh-27878 | spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/ServerRequestExtensions.kt | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2021 the original author or authors.
+ * Copyright 2002-2022 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,7 @@
package org.springframework.... | true |
Other | spring-projects | spring-framework | 65d2e9bb547e15df4b9eda1dcf36ec17f8f3a60a.json | Fix typo and use of componentry
See gh-27852 | spring-context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java | @@ -133,7 +133,7 @@
* setting of the <em>thread name prefix</em> of the {@code Executor}; this is because
* the {@code <task:executor>} element does not expose such an attribute. This
* demonstrates how the JavaConfig-based approach allows for maximum configurability
- * through direct access to actual componentr... | true |
Other | spring-projects | spring-framework | 65d2e9bb547e15df4b9eda1dcf36ec17f8f3a60a.json | Fix typo and use of componentry
See gh-27852 | spring-context/src/main/java/org/springframework/scheduling/annotation/EnableScheduling.java | @@ -180,7 +180,7 @@
* instead of a custom <em>{@code Trigger}</em> implementation; this is because the
* {@code task:} namespace {@code scheduled} cannot easily expose such support. This is
* but one demonstration how the code-based approach allows for maximum configurability
- * through direct access to actual c... | true |
Other | spring-projects | spring-framework | 65d2e9bb547e15df4b9eda1dcf36ec17f8f3a60a.json | Fix typo and use of componentry
See gh-27852 | spring-web/src/main/java/org/springframework/http/server/RequestPath.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -23,7 +23,7 @@
/**
* Specialization of {@... | true |
Other | spring-projects | spring-framework | 65d2e9bb547e15df4b9eda1dcf36ec17f8f3a60a.json | Fix typo and use of componentry
See gh-27852 | spring-web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java | @@ -129,7 +129,7 @@ public class SpringServletContainerInitializer implements ServletContainerInitia
* method will be invoked on each instance, delegating the {@code ServletContext} such
* that each instance may register and configure servlets such as Spring's
* {@code DispatcherServlet}, listeners such as Spr... | true |
Other | spring-projects | spring-framework | 8a7a046bf0073e73e85eab4856a7915fc9d46e40.json | Update copyright year of changed file
See gh-27864 | spring-context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2021 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. | false |
Other | spring-projects | spring-framework | c204cc7ba0a2a62994b7275ad0743624c1344597.json | Update copyright year of changed file
See gh-27863 | spring-context/src/main/java/org/springframework/cache/annotation/EnableCaching.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2021 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. | false |
Other | spring-projects | spring-framework | b69ab8d568d363d1e5e6be4330fa6d1242e27a9a.json | Reuse ResolvableType in getDependencyType
See gh-24525 | spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java | @@ -21,8 +21,6 @@
import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
-import java.lang.reflect.ParameterizedType;
-import java.lang.reflect.Type;
import java.util.Map;
import java.util.Optional;
@@ -365,23 +363,8 @@ public String getDependencyName() {
public Cl... | false |
Other | spring-projects | spring-framework | ca6911a532925e8f2a4d8c0901e5536dd60d1841.json | Update copyright year of changed file
See gh-24636 | spring-core/src/main/java/org/springframework/util/CollectionUtils.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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. | false |
Other | spring-projects | spring-framework | 01fb35bd2d81444fff008172bf58efa1912402af.json | Remove TestGroup.CI enum constant
Prior to this commit, the TestGroup.CI enum constant was only used in a
single test method in spring-core. In order to enable that test, the
`testGroups` JVM system property was configured for the
Publication-master CI build plan; however, the `testGroups` system
property is not set w... | spring-core/src/test/java/org/springframework/core/io/ResourceTests.java | @@ -21,6 +21,8 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
+import java.net.HttpURLConnection;
+import java.net.URL;
import java.nio.ByteBuffer;
import java.nio.channels.ReadableByteChannel;
import java.nio.file.Path;
@@ -29,12 +31,11 @@
import org.junit.jupiter... | true |
Other | spring-projects | spring-framework | 01fb35bd2d81444fff008172bf58efa1912402af.json | Remove TestGroup.CI enum constant
Prior to this commit, the TestGroup.CI enum constant was only used in a
single test method in spring-core. In order to enable that test, the
`testGroups` JVM system property was configured for the
Publication-master CI build plan; however, the `testGroups` system
property is not set w... | spring-core/src/test/java/org/springframework/tests/AssumeTests.java | @@ -29,7 +29,6 @@
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
import static org.springframework.tests.Assume.TEST_GROUPS_SYSTEM_PROPERTY;
-import static org.springframework.tests.TestGroup.CI;
import static o... | true |
Other | spring-projects | spring-framework | 01fb35bd2d81444fff008172bf58efa1912402af.json | Remove TestGroup.CI enum constant
Prior to this commit, the TestGroup.CI enum constant was only used in a
single test method in spring-core. In order to enable that test, the
`testGroups` JVM system property was configured for the
Publication-master CI build plan; however, the `testGroups` system
property is not set w... | spring-core/src/test/java/org/springframework/tests/TestGroup.java | @@ -49,12 +49,7 @@ public enum TestGroup {
* {@code StopWatch}, etc. should be considered a candidate as their successful
* execution is likely to be based on events occurring within a given time window.
*/
- PERFORMANCE,
-
- /**
- * Tests that should only be run on the continuous integration server.
- */
- ... | true |
Other | spring-projects | spring-framework | 01fb35bd2d81444fff008172bf58efa1912402af.json | Remove TestGroup.CI enum constant
Prior to this commit, the TestGroup.CI enum constant was only used in a
single test method in spring-core. In order to enable that test, the
`testGroups` JVM system property was configured for the
Publication-master CI build plan; however, the `testGroups` system
property is not set w... | spring-core/src/test/java/org/springframework/tests/TestGroupTests.java | @@ -64,7 +64,7 @@ void parseMissing() {
.isThrownBy(() -> TestGroup.parse("performance, missing"))
.withMessageContaining("Unable to find test group 'missing' when parsing " +
"testGroups value: 'performance, missing'. Available groups include: " +
- "[LONG_RUNNING,PERFORMANCE,CI]");
+ "[LONG_RUNN... | true |
Other | spring-projects | spring-framework | 89fc0f27135244603a22a7b6268cffd5b46f458e.json | Fix typo in docs
Closes gh-23788 | src/docs/asciidoc/core/core-beans.adoc | @@ -11055,7 +11055,7 @@ file extension).
.Add a
`META-INF/ra.xml` deployment descriptor (as shown in the {api-spring-framework}/jca/context/SpringContextResourceAdapter.html[javadoc for `SpringContextResourceAdapter`])
and the corresponding Spring XML bean definition file(s) (typically
-`META-INF/applicationContext.... | false |
Other | spring-projects | spring-framework | 005d2018d4046ffe483b073f51080d9f7b9f54d6.json | Refine changes for PR
Closes gh-23882 | spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java | @@ -73,10 +73,16 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
* @param beanFactory a bean factory for resolving {@code ${...}}
* placeholders and {@code #{...}} SpEL expressions in default values
*/
- protected AbstractNamedValueMethodArgumentResolver(@Nullable Conversion... | true |
Other | spring-projects | spring-framework | 005d2018d4046ffe483b073f51080d9f7b9f54d6.json | Refine changes for PR
Closes gh-23882 | spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/DestinationVariableMethodArgumentResolver.java | @@ -41,7 +41,7 @@ public class DestinationVariableMethodArgumentResolver extends AbstractNamedValu
DestinationVariableMethodArgumentResolver.class.getSimpleName() + ".templateVariables";
- public DestinationVariableMethodArgumentResolver(@Nullable ConversionService conversionService) {
+ public DestinationVaria... | true |
Other | spring-projects | spring-framework | 005d2018d4046ffe483b073f51080d9f7b9f54d6.json | Refine changes for PR
Closes gh-23882 | spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/HeaderMethodArgumentResolver.java | @@ -49,7 +49,7 @@ public class HeaderMethodArgumentResolver extends AbstractNamedValueMethodArgume
public HeaderMethodArgumentResolver(
- @Nullable ConversionService conversionService, @Nullable ConfigurableBeanFactory beanFactory) {
+ ConversionService conversionService, @Nullable ConfigurableBeanFactory bea... | true |
Other | spring-projects | spring-framework | 005d2018d4046ffe483b073f51080d9f7b9f54d6.json | Refine changes for PR
Closes gh-23882 | spring-messaging/src/test/java/org/springframework/messaging/handler/annotation/support/HeaderMethodArgumentResolverTests.java | @@ -145,14 +145,6 @@ public void resolveOptionalHeaderWithValue() throws Exception {
assertThat(result).isEqualTo(Optional.of("bar"));
}
- @Test
- public void resolveOptionalHeaderWithValueFromNullConversionServiceInput() throws Exception {
- GenericApplicationContext context = new GenericApplicationContext();
... | true |
Other | spring-projects | spring-framework | fd9678833fc2384c7f61cdb0a734a6d0dddd9628.json | Use int for maxParts instead of long | spring-web/src/main/java/org/springframework/http/codec/multipart/SynchronossPartHttpMessageReader.java | @@ -88,7 +88,7 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
private long maxDiskUsagePerPart = -1;
- private long maxParts = -1;
+ private int maxParts = -1;
/**
@@ -138,15 +138,15 @@ public long getMaxDiskUsagePerPart() {
* Specify the maximum number of parts allow... | false |
Other | spring-projects | spring-framework | 3691c187ef5f296604764014632286663a1ba8aa.json | Preserve order of onStatus handlers
Closes gh-23880 | spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultWebClient.java | @@ -419,21 +419,28 @@ private static class DefaultResponseSpec implements ResponseSpec {
private static final IntPredicate STATUS_CODE_ERROR = value -> value >= 400;
+ private static final StatusHandler DEFAULT_STATUS_HANDLER =
+ new StatusHandler(STATUS_CODE_ERROR, ClientResponse::createException);
+
+
p... | true |
Other | spring-projects | spring-framework | 3691c187ef5f296604764014632286663a1ba8aa.json | Preserve order of onStatus handlers
Closes gh-23880 | spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultWebClientTests.java | @@ -20,6 +20,7 @@
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
+import java.util.function.Predicate;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -33,6 +34,7 @@
import org.springframework.core.NamedThreadLocal;
import org.springframework.http... | true |
Other | spring-projects | spring-framework | 3895d21b7ddc5ce378d31ca4befdc83450e16521.json | Fix failing test after previous commit
See gh-23793 | spring-websocket/src/test/java/org/springframework/web/socket/messaging/WebSocketStompClientTests.java | @@ -46,6 +46,7 @@
import org.springframework.web.socket.WebSocketHandler;
import org.springframework.web.socket.WebSocketSession;
import org.springframework.web.socket.client.WebSocketClient;
+import org.springframework.web.socket.handler.WebSocketHandlerDecorator;
import static org.assertj.core.api.Assertions.as... | false |
Other | spring-projects | spring-framework | 248ad0fa796e2d3e611a166f68357a3d5d608ecf.json | Expose primary flag on BeanDefinitionBuilder
Closes gh-23794 | spring-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionBuilder.java | @@ -314,6 +314,15 @@ public BeanDefinitionBuilder addDependsOn(String beanName) {
return this;
}
+ /**
+ * Set whether this bean is a primary autowire candidate.
+ * @since 5.1.11
+ */
+ public BeanDefinitionBuilder setPrimary(boolean primary) {
+ this.beanDefinition.setPrimary(primary);
+ return this;
+ }
... | false |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | spring-core/src/test/java/org/springframework/core/codec/ResourceRegionEncoderTests.java | @@ -19,7 +19,6 @@
import java.util.Collections;
import java.util.function.Consumer;
-import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.reactivestreams.Subscription;
import reactor.core.publisher.BaseSubscriber;
@@ -33,7 +32,6 @@
import org.springframework.core.io.buffer.Abstr... | true |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | spring-web/src/main/java/org/springframework/http/codec/CodecConfigurer.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2019 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.
@@ -143,6 +143,20 @@ interface DefaultCodecs {
... | true |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | spring-web/src/main/java/org/springframework/http/codec/ServerCodecConfigurer.java | @@ -76,6 +76,20 @@ static ServerCodecConfigurer create() {
*/
interface ServerDefaultCodecs extends DefaultCodecs {
+ /**
+ * Configure the {@code HttpMessageReader} to use for multipart requests.
+ * <p>By default, if
+ * <a href="https://github.com/synchronoss/nio-multipart">Synchronoss NIO Multipart</a... | true |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | spring-web/src/main/java/org/springframework/http/codec/multipart/MultipartHttpMessageReader.java | @@ -65,6 +65,14 @@ public MultipartHttpMessageReader(HttpMessageReader<Part> partReader) {
}
+ /**
+ * Return the configured parts reader.
+ * @since 5.1.11
+ */
+ public HttpMessageReader<Part> getPartReader() {
+ return this.partReader;
+ }
+
@Override
public List<MediaType> getReadableMediaTypes() {
... | true |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java | @@ -74,7 +74,7 @@
public class ProtobufDecoder extends ProtobufCodecSupport implements Decoder<Message> {
/** The default max size for aggregating messages. */
- protected static final int DEFAULT_MESSAGE_MAX_SIZE = 64 * 1024;
+ protected static final int DEFAULT_MESSAGE_MAX_SIZE = 256 * 1024;
private static f... | true |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | spring-web/src/main/java/org/springframework/http/codec/support/BaseDefaultCodecs.java | @@ -20,6 +20,7 @@
import java.util.Collections;
import java.util.List;
+import org.springframework.core.codec.AbstractDataBufferDecoder;
import org.springframework.core.codec.ByteArrayDecoder;
import org.springframework.core.codec.ByteArrayEncoder;
import org.springframework.core.codec.ByteBufferDecoder;
@@ -29,... | true |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | spring-web/src/main/java/org/springframework/http/codec/support/ServerDefaultCodecsImpl.java | @@ -39,10 +39,18 @@ class ServerDefaultCodecsImpl extends BaseDefaultCodecs implements ServerCodecCo
DefaultServerCodecConfigurer.class.getClassLoader());
+ @Nullable
+ private HttpMessageReader<?> multipartReader;
+
@Nullable
private Encoder<?> sseEncoder;
+ @Override
+ public void multipartReader(Ht... | true |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | spring-web/src/test/java/org/springframework/http/codec/support/ServerCodecConfigurerTests.java | @@ -36,6 +36,7 @@
import org.springframework.core.codec.DataBufferEncoder;
import org.springframework.core.codec.Decoder;
import org.springframework.core.codec.Encoder;
+import org.springframework.core.codec.ResourceDecoder;
import org.springframework.core.codec.StringDecoder;
import org.springframework.core.io.bu... | true |
Other | spring-projects | spring-framework | 5abf24e7d75e9f81746a92e7b3e1ae51204abbd2.json | Expose maxInMemorySize via CodecConfigurer
Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884 | src/docs/asciidoc/web/webflux.adoc | @@ -818,6 +818,33 @@ for repeated, map-like access to parts, or otherwise rely on the
`SynchronossPartHttpMessageReader` for a one-time access to `Flux<Part>`.
+[[webflux-codecs-limits]]
+==== Limits
+
+`Decoder` and `HttpMessageReader` implementations that buffer some or all of the input
+stream can be configured... | true |
Other | spring-projects | spring-framework | 00ead7a756a993e824f50d696d17509280eaaf97.json | Refine multipart parsing limits
See gh-23884 | spring-web/src/main/java/org/springframework/http/codec/multipart/MultipartException.java | @@ -1,32 +0,0 @@
-/*
- * Copyright 2002-2019 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
- *
- * https://www.apache.org/licenses/LICENSE-2.0
-... | true |
Other | spring-projects | spring-framework | 00ead7a756a993e824f50d696d17509280eaaf97.json | Refine multipart parsing limits
See gh-23884 | spring-web/src/main/java/org/springframework/http/codec/multipart/SynchronossPartHttpMessageReader.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2019 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,9 +47,11 @@
import reactor.core.publish... | true |
Other | spring-projects | spring-framework | 00ead7a756a993e824f50d696d17509280eaaf97.json | Refine multipart parsing limits
See gh-23884 | spring-web/src/test/java/org/springframework/http/codec/multipart/SynchronossPartHttpMessageReaderTests.java | @@ -31,6 +31,7 @@
import reactor.test.StepVerifier;
import org.springframework.core.ResolvableType;
+import org.springframework.core.codec.DecodingException;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.buffer.AbstractLeakCheckingTests;
import org.springframework.core.... | true |
Other | spring-projects | spring-framework | 962ec38a61302e1ace6425a7ea89aae993357905.json | Improve Javadoc of ExchangeFunction
See gh-26577 | spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFunction.java | @@ -25,11 +25,11 @@
* <p>For example:
* <pre class="code">
* ExchangeFunction exchangeFunction = ExchangeFunctions.create(new ReactorClientHttpConnector());
- * ClientRequest<Void> request = ClientRequest.method(HttpMethod.GET, "https://example.com/resource").build();
+ * ClientRequest request = ClientReque... | false |
Other | spring-projects | spring-framework | cb3af52df2aeee0830a78589562cdec4f4ef318a.json | Add vscode folder to .gitignore
Closes gh-26595 | .gitignore | @@ -41,3 +41,6 @@ out
test-output
atlassian-ide-plugin.xml
.gradletasknamecache
+
+# VS Code
+.vscode/
\ No newline at end of file | false |
Other | spring-projects | spring-framework | 77a658f51bbb257c018888b76b7149dae34c769c.json | Fix registration of ApplicationStartupAware
Closes gh-26576 | spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java | @@ -46,6 +46,7 @@
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.ApplicationEventPublisherAware;
import org.springframework.context.ApplicationListener;
+import org.springframework.context.ApplicationStartupAware;
import org.springframework.context.ConfigurableAppli... | false |
Other | spring-projects | spring-framework | cf4e77907f7056cbee60efb5842989d9266f091d.json | Fix MockHttpServletRequest reference in Javadoc
Closes gh-26592 | spring-test/src/main/java/org/springframework/mock/web/MockHttpServletMapping.java | @@ -24,7 +24,7 @@
/**
* Mock implementation of {@link HttpServletMapping}.
*
- * <p>Currently not exposed in {@link MockHttpServletMapping} as a setter to
+ * <p>Currently not exposed in {@link MockHttpServletRequest} as a setter to
* avoid issues for Maven builds in applications with a Servlet 3.1 runtime
* r... | false |
Other | spring-projects | spring-framework | a78c12b8d3f5304665fa73a76cb01b8a7c744ca8.json | Fix Javadoc for PlaceholderConfigurerSupport | spring-beans/src/main/java/org/springframework/beans/factory/config/PlaceholderConfigurerSupport.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2021 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,15 +36,16 @@
* Example XML bean defini... | false |
Other | spring-projects | spring-framework | 3215880d08f70f621aff1d27a0a5881134221068.json | Remove Javadoc link to private method | spring-tx/src/main/java/org/springframework/transaction/support/TransactionSynchronizationUtils.java | @@ -59,7 +59,6 @@ public static boolean sameResourceFactory(ResourceTransactionManager tm, Object
* the given handle as-is.
* @since 5.3.4
* @see InfrastructureProxy#getWrappedObject()
- * @see ScopedProxyUnwrapper#unwrapIfNecessary(Object)
*/
public static Object unwrapResourceIfNecessary(Object resourc... | false |
Other | spring-projects | spring-framework | a78701cc4b7cb66be91ebee4fa9764e753dacd68.json | Fix Javadoc link in DynamicIntroductionAdvice
Closes gh-26568 | spring-aop/src/main/java/org/springframework/aop/DynamicIntroductionAdvice.java | @@ -26,7 +26,7 @@
* <p>Introductions are often <b>mixins</b>, enabling the building of composite
* objects that can achieve many of the goals of multiple inheritance in Java.
*
- * <p>Compared to {qlink IntroductionInfo}, this interface allows an advice to
+ * <p>Compared to {@link IntroductionInfo}, this interfa... | false |
Other | spring-projects | spring-framework | 947387b4cdb5bee3fcca839693c71108a7279988.json | Fix ResourceUrlProvider handler auto-detection
Prior to this commit, `ResourceUrlProvider` would listen and consider
all `ContextRefreshedEvent` and use the given context to detect
`SimpleUrlHandlerMapping`.
This could lead to situations where a `ResourceUrlProvider` uses another
application context than its own (in ... | spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceUrlProvider.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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,12 +26,15 @@
import org.apache.commons.... | true |
Other | spring-projects | spring-framework | 947387b4cdb5bee3fcca839693c71108a7279988.json | Fix ResourceUrlProvider handler auto-detection
Prior to this commit, `ResourceUrlProvider` would listen and consider
all `ContextRefreshedEvent` and use the given context to detect
`SimpleUrlHandlerMapping`.
This could lead to situations where a `ResourceUrlProvider` uses another
application context than its own (in ... | spring-webflux/src/test/java/org/springframework/web/reactive/resource/ResourceUrlProviderTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2019 the original author or authors.
+ * Copyright 2002-2021 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,6 +44,7 @@
* Unit tests for {@link Res... | true |
Other | spring-projects | spring-framework | 947387b4cdb5bee3fcca839693c71108a7279988.json | Fix ResourceUrlProvider handler auto-detection
Prior to this commit, `ResourceUrlProvider` would listen and consider
all `ContextRefreshedEvent` and use the given context to detect
`SimpleUrlHandlerMapping`.
This could lead to situations where a `ResourceUrlProvider` uses another
application context than its own (in ... | spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlProvider.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -27,7 +27,9 @@
import org.apache.commons.lo... | true |
Other | spring-projects | spring-framework | 947387b4cdb5bee3fcca839693c71108a7279988.json | Fix ResourceUrlProvider handler auto-detection
Prior to this commit, `ResourceUrlProvider` would listen and consider
all `ContextRefreshedEvent` and use the given context to detect
`SimpleUrlHandlerMapping`.
This could lead to situations where a `ResourceUrlProvider` uses another
application context than its own (in ... | spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceUrlProviderTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2019 the original author or authors.
+ * Copyright 2002-2021 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,6 +44,7 @@
*
* @author Jeremy Grelle... | true |
Other | spring-projects | spring-framework | e17ca9a4e907e045daf0a7ec8e4fa99a0948d248.json | Implement toString() in MockCookie | spring-test/src/main/java/org/springframework/mock/web/MockCookie.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2019 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -22,6 +22,7 @@
import javax.servlet.http.... | false |
Other | spring-projects | spring-framework | 36d133ce53c89832e3894673b1a813b9741e2d22.json | Escape URLs in literals in reference manual
This prevents the URLs from being rendered as clickable links in the
generated HTML. | src/docs/asciidoc/core/core-resources.adoc | @@ -404,11 +404,11 @@ objects:
| Loaded from the classpath.
| file:
-| `file:///data/config.xml`
+| `\file:///data/config.xml`
| Loaded as a `URL` from the filesystem. See also <<resources-filesystemresource-caveats>>.
| https:
-| `https://myserver/logo.png`
+| `\https://myserver/logo.png`
| Loaded as a `URL`.... | false |
Other | spring-projects | spring-framework | 7225238ad56254bb9b580682ddacba381e92e936.json | Update Resource interface in the reference manual
See gh-26447 | src/docs/asciidoc/core/core-resources.adoc | @@ -33,9 +33,11 @@ such as a method to check for the existence of the resource being pointed to.
[[resources-resource]]
== The Resource Interface
-Spring's `Resource` interface is meant to be a more capable interface for abstracting
-access to low-level resources. The following listing shows the `Resource` interfac... | false |
Other | spring-projects | spring-framework | da3ff29e88f4f7041714deb10e91f4ca68bac12c.json | Allow bypass of active/default properties
Introduce protected methods that can be used to bypass or change the
way that active and default property values are read.
See gh-26461 | spring-core/src/main/java/org/springframework/core/env/AbstractEnvironment.java | @@ -227,15 +227,15 @@ public String[] getActiveProfiles() {
/**
* Return the set of active profiles as explicitly set through
* {@link #setActiveProfiles} or if the current set of active profiles
- * is empty, check for the presence of the {@value #ACTIVE_PROFILES_PROPERTY_NAME}
- * property and assign its va... | true |
Other | spring-projects | spring-framework | da3ff29e88f4f7041714deb10e91f4ca68bac12c.json | Allow bypass of active/default properties
Introduce protected methods that can be used to bypass or change the
way that active and default property values are read.
See gh-26461 | spring-core/src/test/java/org/springframework/core/env/CustomEnvironmentTests.java | @@ -18,6 +18,8 @@
import java.util.Collections;
import java.util.HashSet;
+import java.util.LinkedHashMap;
+import java.util.Map;
import java.util.Set;
import org.junit.jupiter.api.Test;
@@ -105,6 +107,30 @@ protected Set<String> getReservedDefaultProfiles() {
assertThat(env.acceptsProfiles(Profiles.of("a1 |... | true |
Other | spring-projects | spring-framework | 729535d36cd98f5ea50ec0a32bd3d828c5d37303.json | Ensure presence of cached lookupPath
Closes gh-26546 | spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMapping.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -501,6 +501,11 @@ public final HandlerExecut... | true |
Other | spring-projects | spring-framework | 729535d36cd98f5ea50ec0a32bd3d828c5d37303.json | Ensure presence of cached lookupPath
Closes gh-26546 | spring-webmvc/src/test/java/org/springframework/web/servlet/handler/HandlerMappingTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -23,6 +23,7 @@
import javax.servlet.http.... | true |
Other | spring-projects | spring-framework | 634c7710f9517d02971b7b3e6beb593be061e391.json | Remove trailing whitespace (Checkstyle)
See gh-26471 | spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterUtils.java | @@ -350,7 +350,7 @@ public static Object[] buildValueArray(
Object paramValue = paramSource.getValue(paramName);
if (paramValue instanceof SqlParameterValue) {
paramArray[i] = paramValue;
- }
+ }
else {
paramArray[i] = (param != null ? new SqlParameterValue(param, paramValue) :
... | false |
Other | spring-projects | spring-framework | 2fbfd8a5dbb32f74fee9c0a22dc4a402d3c6680f.json | Avoid unnecessary wrapping for SqlParameterValue
Fix https://github.com/spring-projects/spring-framework/issues/26467 | spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterUtils.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2021 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,7 @@
*
* @author Thomas Risber... | true |
Other | spring-projects | spring-framework | 2fbfd8a5dbb32f74fee9c0a22dc4a402d3c6680f.json | Avoid unnecessary wrapping for SqlParameterValue
Fix https://github.com/spring-projects/spring-framework/issues/26467 | spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/NamedParameterUtilsTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2019 the original author or authors.
+ * Copyright 2002-2021 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.
@@ -23,6 +23,7 @@
import org.junit.jupiter.api... | true |
Other | spring-projects | spring-framework | ec225b07fa8adaa382439b614b2619f32243ef6c.json | Remove unnecessary @SuppressWarnings | spring-jdbc/src/main/java/org/springframework/jdbc/core/DataClassRowMapper.java | @@ -70,7 +70,6 @@ public DataClassRowMapper(Class<T> mappedClass) {
}
- @SuppressWarnings("unchecked")
@Override
protected void initialize(Class<T> mappedClass) {
super.initialize(mappedClass); | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.