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 | 3c8724ba3d0375e4a50354c15383972fee788e9c.json | Remove JiBX support
Closes gh-27425 | spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java | @@ -1,105 +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 | 3c8724ba3d0375e4a50354c15383972fee788e9c.json | Remove JiBX support
Closes gh-27425 | spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java | @@ -1,90 +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 | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-aop/src/main/java/org/springframework/aop/framework/AopProxyUtils.java | @@ -33,7 +33,6 @@
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;
import org.springframework.util.ObjectUtils;
-import org.springframework.util.ReflectionUtils;
/**
* Utility methods for AOP proxy factories.
@@ -48,11 +47,6 @@
*/
public abstract class AopProxyUtils {
- /... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/main/java/org/springframework/cglib/core/ReflectUtils.java | @@ -260,7 +260,7 @@ public static Object newInstance(Class type, Class[] parameterTypes, Object[] ar
return newInstance(getConstructor(type, parameterTypes), args);
}
- @SuppressWarnings("deprecation") // on JDK 9
+ @SuppressWarnings("deprecation")
public static Object newInstance(final Constructor cstruct, f... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/main/java/org/springframework/cglib/core/package-info.java | @@ -5,6 +5,6 @@
*
* <p>As this repackaging happens at the class file level, sources
* and javadocs are not available here... except for a few files
- * that have been patched for Spring's purposes on JDK 9/10/11.
+ * that have been patched for Spring's purposes on JDK 9-17.
*/
package org.springframework.cglib... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/main/java/org/springframework/cglib/proxy/package-info.java | @@ -5,6 +5,6 @@
*
* <p>As this repackaging happens at the class file level, sources
* and javadocs are not available here... except for a few files
- * that have been patched for Spring's purposes on JDK 9/10/11.
+ * that have been patched for Spring's purposes on JDK 9-17.
*/
package org.springframework.cglib... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java | @@ -16,17 +16,18 @@
package org.springframework.core;
-import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
+import java.util.concurrent.Flow;
import java.util... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/main/java/org/springframework/core/convert/support/ByteBufferConverter.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,7 +16,6 @@
package org.springframewor... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/main/java/org/springframework/core/io/buffer/DefaultDataBuffer.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.
@@ -19,7 +19,6 @@
import java.io.IOException;
... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/main/java/org/springframework/util/ClassUtils.java | @@ -778,7 +778,7 @@ public static Set<Class<?>> getAllInterfacesForClassAsSet(Class<?> clazz, @Nulla
* conflicting method signatures (or a similar constraint is violated)
* @see java.lang.reflect.Proxy#getProxyClass
*/
- @SuppressWarnings("deprecation") // on JDK 9
+ @SuppressWarnings("deprecation")
public ... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/main/java/org/springframework/util/ReflectionUtils.java | @@ -194,7 +194,7 @@ public static <T> Constructor<T> accessibleConstructor(Class<T> clazz, Class<?>.
* @param ctor the constructor to make accessible
* @see java.lang.reflect.Constructor#setAccessible
*/
- @SuppressWarnings("deprecation") // on JDK 9
+ @SuppressWarnings("deprecation")
public static void mak... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-core/src/test/java/org/springframework/util/ObjectUtilsTests.java | @@ -251,7 +251,7 @@ void hashCodeWithBooleanTrue() {
@Deprecated
void hashCodeWithDouble() {
double dbl = 9830.43;
- int expected = (new Double(dbl)).hashCode();
+ int expected = Double.valueOf(dbl).hashCode();
assertThat(ObjectUtils.hashCode(dbl)).isEqualTo(expected);
}
| true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-jcl/src/main/java/org/apache/commons/logging/LogAdapter.java | @@ -681,7 +681,7 @@ else if (found) {
setSourceMethodName(sourceMethodName);
}
- @SuppressWarnings("deprecation") // setMillis is deprecated in JDK 9
+ @SuppressWarnings("deprecation")
protected Object writeReplace() {
LogRecord serialized = new LogRecord(getLevel(), getMessage());
serialized.set... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompDecoder.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,7 +17,6 @@
package org.springframework.... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-oxm/src/main/java/org/springframework/oxm/support/AbstractMarshaller.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.
@@ -189,7 +189,7 @@ protected DocumentBuilder c... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-web/src/main/java/org/springframework/http/codec/xml/XmlEventDecoder.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.
@@ -122,7 +122,6 @@ public int getMaxInMemorySi... | true |
Other | spring-projects | spring-framework | b74e93807e0443d30cd1a7c5a8671ceae27e3178.json | Remove JDK 9 workarounds etc
See gh-17778 | spring-web/src/main/java/org/springframework/http/converter/xml/SourceHttpMessageConverter.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.
@@ -197,7 +197,7 @@ private DOMSource readDOMSo... | true |
Other | spring-projects | spring-framework | 33cddef026ad7a8c86eac0195377d67f00b37674.json | Upgrade Javadoc URLs for JDK 17 based build
Prior to this commit, the Javadoc task would fail on
`spring-context-indexer` and `spring-instrumentation`. It seems that
missing remote docs or HTTP redirects were failing the process.
This commit removes the missing published Javadocs and updates the
version for the JDK A... | build.gradle | @@ -365,11 +365,10 @@ configure([rootProject] + javaProjects) { project ->
}
ext.javadocLinks = [
- "https://docs.oracle.com/javase/8/docs/api/",
- "https://docs.oracle.com/javaee/7/api/",
+ "https://docs.oracle.com/en/java/javase/17/docs/api/",
+ "https://javaee.github.io/javaee-spec/javadocs/",
"htt... | false |
Other | spring-projects | spring-framework | 350d3e8b225181fa8a9bee6dd8e51f526262c75e.json | Update @since tag in code template to 6.0 | src/eclipse/org.eclipse.jdt.ui.prefs | @@ -63,4 +63,4 @@ org.eclipse.jdt.ui.keywordthis=false
org.eclipse.jdt.ui.ondemandthreshold=9999
org.eclipse.jdt.ui.overrideannotation=true
org.eclipse.jdt.ui.staticondemandthreshold=9999
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template auto... | false |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | buildSrc/src/main/java/org/springframework/build/compile/CompilerConventionsPlugin.java | @@ -24,7 +24,6 @@
import org.gradle.api.Project;
import org.gradle.api.plugins.JavaLibraryPlugin;
import org.gradle.api.plugins.JavaPlugin;
-import org.gradle.api.plugins.JavaPluginConvention;
import org.gradle.api.tasks.compile.JavaCompile;
/**
@@ -70,7 +69,6 @@ public void apply(Project project) {
* @param ... | true |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | buildSrc/src/main/java/org/springframework/build/optional/OptionalDependenciesPlugin.java | @@ -19,12 +19,9 @@
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.artifacts.Configuration;
-import org.gradle.api.attributes.Usage;
import org.gradle.api.plugins.JavaPlugin;
-import org.gradle.api.plugins.JavaPluginConvention;
+import org.gradle.api.plugins.JavaPluginExtension;
... | true |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | ci/images/ci-image/Dockerfile | @@ -2,10 +2,9 @@ FROM ubuntu:focal-20210827
ADD setup.sh /setup.sh
ADD get-jdk-url.sh /get-jdk-url.sh
-RUN ./setup.sh java8
+RUN ./setup.sh
-ENV JAVA_HOME /opt/openjdk/java8
-ENV JDK11 /opt/openjdk/java11
-ENV JDK16 /opt/openjdk/java16
+ENV JAVA_HOME /opt/openjdk/java17
+ENV JDK17 /opt/openjdk/java17
ENV PATH ... | true |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | ci/images/get-jdk-url.sh | @@ -2,15 +2,9 @@
set -e
case "$1" in
- java8)
- echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz"
+ java17)
+ echo "https://github.com/adoptium/temurin17-binaries/releases/download/jdk17-2021-09-15-08-15-beta/OpenJDK17-jdk_x64_lin... | true |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | ci/images/setup.sh | @@ -22,7 +22,7 @@ curl --output /opt/concourse-release-scripts.jar https://repo.spring.io/release/
mkdir -p /opt/openjdk
pushd /opt/openjdk > /dev/null
-for jdk in java8 java11 java16
+for jdk in java17
do
JDK_URL=$( /get-jdk-url.sh $jdk )
mkdir $jdk | true |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | ci/parameters.yml | @@ -1,12 +1,9 @@
-email-server: "smtp.svc.pivotal.io"
-email-from: "ci@spring.io"
-email-to: ["spring-framework-dev@pivotal.io"]
github-repo: "https://github.com/spring-projects/spring-framework.git"
github-repo-name: "spring-projects/spring-framework"
docker-hub-organization: "springci"
artifactory-server: "https:... | true |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | ci/pipeline.yml | @@ -67,13 +67,6 @@ resources:
icon: github
source:
<<: *git-repo-resource-source
-- name: every-morning
- type: time
- icon: alarm
- source:
- start: 8:00 AM
- stop: 9:00 AM
- location: Europe/Vienna
- name: ci-images-git-repo
type: git
icon: github
@@ -86,7 +79,7 @@ resources:
icon: do... | true |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | ci/scripts/check-project.sh | @@ -4,6 +4,6 @@ set -e
source $(dirname $0)/common.sh
pushd git-repo > /dev/null
-./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false -Porg.gradle.java.installations.fromEnv=JDK11,JDK15 \
+./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false -Porg.gradle.java.installations.fromEnv=J... | true |
Other | spring-projects | spring-framework | c0e479460e09b7065a21ebfbd95cec7d213ca62e.json | Switch CI pipeline to a JDK17 baseline
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409 | gradle/toolchains.gradle | @@ -11,7 +11,7 @@
* <li>a JDK11 toolchain for compiling and running the test SourceSet
* </ul>
*
- * By default, the build will fall back to using the current JDK and 1.8 language level for all sourceSets.
+ * By default, the build will fall back to using the current JDK and 17 language level for all sourceSe... | true |
Other | spring-projects | spring-framework | 7907478d363ebf331b9e3c84adf3b3fec91bd594.json | Watch 5.3.x branch in the CI pipeline
Main branch has moved to the 6.0.x line, so this commit updates this CI
pipeline to the new 5.3.x maintenance branch. | ci/parameters.yml | @@ -5,7 +5,7 @@ github-repo: "https://github.com/spring-projects/spring-framework.git"
github-repo-name: "spring-projects/spring-framework"
docker-hub-organization: "springci"
artifactory-server: "https://repo.spring.io"
-branch: "main"
+branch: "5.3.x"
milestone: "5.3.x"
build-name: "spring-framework"
pipeline-n... | false |
Other | spring-projects | spring-framework | 5cc09849cedfc21a5922930d17bce7a61fccd238.json | Introduce test for gh-27390 | spring-beans/src/test/java/org/springframework/beans/BeanUtilsTests.java | @@ -49,6 +49,7 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
+import static org.assertj.core.api.SoftAssertions.assertSoftly;
/**
* Unit tests... | false |
Other | spring-projects | spring-framework | caf88ff2cc311b345f5fc0a5ced54d24bd9d553f.json | Improve HandlerMethod#bridgedMethod initialization
Ensure makeAccessible is called once when the bridgedMethod is
initialized.
Closes gh-19795 | spring-messaging/src/main/java/org/springframework/messaging/handler/HandlerMethod.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.
@@ -33,6 +33,7 @@
import org.springframework.u... | true |
Other | spring-projects | spring-framework | caf88ff2cc311b345f5fc0a5ced54d24bd9d553f.json | Improve HandlerMethod#bridgedMethod initialization
Ensure makeAccessible is called once when the bridgedMethod is
initialized.
Closes gh-19795 | spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/InvocableHandlerMethod.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.
@@ -29,7 +29,6 @@
import org.springframework.m... | true |
Other | spring-projects | spring-framework | caf88ff2cc311b345f5fc0a5ced54d24bd9d553f.json | Improve HandlerMethod#bridgedMethod initialization
Ensure makeAccessible is called once when the bridgedMethod is
initialized.
Closes gh-19795 | spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/reactive/InvocableHandlerMethod.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.
@@ -38,7 +38,6 @@
import org.springframework.m... | true |
Other | spring-projects | spring-framework | caf88ff2cc311b345f5fc0a5ced54d24bd9d553f.json | Improve HandlerMethod#bridgedMethod initialization
Ensure makeAccessible is called once when the bridgedMethod is
initialized.
Closes gh-19795 | spring-web/src/main/java/org/springframework/web/method/HandlerMethod.java | @@ -42,6 +42,7 @@
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;
import org.springframework.util.ObjectUtils;
+import org.springframework.util.ReflectionUtils;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.ResponseStatus;
@@ -119,... | true |
Other | spring-projects | spring-framework | caf88ff2cc311b345f5fc0a5ced54d24bd9d553f.json | Improve HandlerMethod#bridgedMethod initialization
Ensure makeAccessible is called once when the bridgedMethod is
initialized.
Closes gh-19795 | spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java | @@ -28,7 +28,6 @@
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.lang.Nullable;
import org.springframework.util.ObjectUtils;
-import org.springframework.util.ReflectionUtils;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.support.SessionS... | true |
Other | spring-projects | spring-framework | caf88ff2cc311b345f5fc0a5ced54d24bd9d553f.json | Improve HandlerMethod#bridgedMethod initialization
Ensure makeAccessible is called once when the bridgedMethod is
initialized.
Closes gh-19795 | spring-webflux/src/main/java/org/springframework/web/reactive/result/method/InvocableHandlerMethod.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.
@@ -37,7 +37,6 @@
import org.springframework.h... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/core/core-aop.adoc | @@ -366,7 +366,7 @@ the https://www.eclipse.org/aspectj/doc/released/progguide/index.html[AspectJ
Programming Guide] (and, for extensions, the
https://www.eclipse.org/aspectj/doc/released/adk15notebook/index.html[AspectJ 5
Developer's Notebook]) or one of the books on AspectJ (such as _Eclipse AspectJ_, by Colyer
-e... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/core/core-beans.adoc | @@ -1024,7 +1024,7 @@ by type without help. Consider the following class:
class ExampleBean(
private val years: Int, // Number of years to calculate the Ultimate Answer
- private val ultimateAnswer: String// The Answer to Life, the Universe, and Everything
+ private val ultimateAnswer: String // The Answer to ... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/core/core-databuffer-codec.adoc | @@ -12,7 +12,7 @@ APIs as follows:
* <<databuffers-buffer>> represents a byte buffer, which may be
<<databuffers-buffer-pooled, pooled>>.
* <<databuffers-utils>> offers utility methods for data buffers.
-* <<Codecs>> decode or encode streams data buffer streams into higher level objects.
+* <<Codecs>> decode or enco... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/core/core-expressions.adoc | @@ -357,7 +357,7 @@ the list:
// Turn on:
// - auto null reference initialization
// - auto collection growing
- SpelParserConfiguration config = new SpelParserConfiguration(true,true);
+ SpelParserConfiguration config = new SpelParserConfiguration(true, true);
ExpressionParser parser = new SpelExpressionPars... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/core/core-validation.adoc | @@ -382,7 +382,7 @@ properties:
----
The following code snippets show some examples of how to retrieve and manipulate some of
-the properties of instantiated `Companies` and `Employees`:
+the properties of instantiated ``Company``s and ``Employee``s:
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/data-access.adoc | @@ -445,7 +445,7 @@ relevant `TransactionManager`.
[[tx-resource-synchronization-high]]
==== High-level Synchronization Approach
-The preferred approach is to use Spring's highest-level template based persistence
+The preferred approach is to use Spring's highest-level template-based persistence
integration APIs o... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/integration.adoc | @@ -390,7 +390,7 @@ model and corresponding services:
[source,java,indent=0,subs="verbatim,quotes"]
----
- public class Account implements Serializable{
+ public class Account implements Serializable {
private String name;
@@ -445,7 +445,7 @@ section of the Spring AMQP reference.
[[remoting-autodection-remo... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/overview.adoc | @@ -44,7 +44,7 @@ parallel, the Spring WebFlux reactive web framework.
A note about modules: Spring's framework jars allow for deployment to JDK 9's module path
("Jigsaw"). For use in Jigsaw-enabled applications, the Spring Framework 5 jars come with
"Automatic-Module-Name" manifest entries which define stable langu... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/testing.adoc | @@ -503,6 +503,7 @@ The following example shows such a case:
// class body...
}
----
+<1> Declaring an initializer class.
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
.Kotlin | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/web/integration.adoc | @@ -29,12 +29,12 @@ entry points into a server-side application, and it delegates to service objects
(facades) that are defined in a service layer to satisfy business-specific (and
presentation-technology agnostic) use cases. In Spring, these service objects, any other
business-specific objects, data-access objects,... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/web/web-uris.adoc | @@ -95,8 +95,8 @@ You can shorten it further still with a full URI template, as the following exam
.Kotlin
----
val uri = UriComponentsBuilder
- .fromUriString("https://example.com/hotels/{hotel}?q={q}")
- .build("Westin", "123")
+ .fromUriString("https://example.com/hotels/{hotel}?q={q}")
+ .build("Westin", ... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/web/webflux-view.adoc | @@ -232,7 +232,7 @@ Java 8+. Using the latest update release available is highly recommended.
line should be added for Kotlin script support. See
https://github.com/sdeleuze/kotlin-script-templating[this example] for more detail.
-You need to have the script templating library. One way to do that for Javascript i... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/web/webmvc-cors.adoc | @@ -50,7 +50,7 @@ Each `HandlerMapping` can be
{api-spring-framework}/web/servlet/handler/AbstractHandlerMapping.html#setCorsConfigurations-java.util.Map-[configured]
individually with URL pattern-based `CorsConfiguration` mappings. In most cases, applications
use the MVC Java configuration or the XML namespace to d... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/web/webmvc-functional.adoc | @@ -103,7 +103,7 @@ as the following example shows:
If you register the `RouterFunction` as a bean, for instance by exposing it in a
-@Configuration class, it will be auto-detected by the servlet, as explained in <<webmvc-fn-running>>.
+`@Configuration` class, it will be auto-detected by the servlet, as explained ... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/web/webmvc-view.adoc | @@ -615,7 +615,7 @@ Java 8+. Using the latest update release available is highly recommended.
line should be added for Kotlin script support. See
https://github.com/sdeleuze/kotlin-script-templating[this example] for more details.
-You need to have the script templating library. One way to do that for Javascript ... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/web/webmvc.adoc | @@ -580,12 +580,12 @@ itself, excluding the `contextPath` and any `servletMapping` prefix, if present.
The `servletPath` and `pathInfo` are decoded and that makes them impossible to compare
directly to the full `requestURI` in order to derive the lookupPath and that makes it
-necessary to decode the `requestUri`. H... | true |
Other | spring-projects | spring-framework | c46cc666d6bd5b26860964d8bceddb528d7897b2.json | Fix some typos and mistakes in ref docs
Closes gh-27388 | src/docs/asciidoc/web/websocket.adoc | @@ -1118,7 +1118,7 @@ Contract for sending a message that enables loose coupling between producers and
`SubscribableChannel` that uses an `Executor` for delivering messages.
Both the Java configuration (that is, `@EnableWebSocketMessageBroker`) and the XML namespace configuration
-(that is,`<websocket:message-broke... | true |
Other | spring-projects | spring-framework | 1fe2ea5a878e9913ba4910b6962f48c192374823.json | Add logPrefix to the log statement
Add logPrefix to the log statement to provide better debugging experience | spring-webflux/src/main/java/org/springframework/web/reactive/result/HandlerResultHandlerSupport.java | @@ -158,7 +158,7 @@ else if (mediaType.isPresentIn(ALL_APPLICATION_MEDIA_TYPES)) {
if (selected != null) {
selected = selected.removeQualityValue();
if (logger.isDebugEnabled()) {
- logger.debug("Using '" + selected + "' given " + acceptableTypes +
+ logger.debug(exchange.getLogPrefix() + "Using '" + s... | false |
Other | spring-projects | spring-framework | f5c287a6e66a76c12359ccfeb8a89f7495e7c18b.json | OrderedMessageSender throughput improvement
Before this change messages were sent serially across sessions but
ordering is important only within a session. This leads to head of
line blocking when a session is slow to send, and also enforcement of
send buffer size and time limits is precluded because it happens at
a l... | spring-messaging/src/main/java/org/springframework/messaging/simp/broker/OrderedMessageSender.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2020 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,13 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | f5c287a6e66a76c12359ccfeb8a89f7495e7c18b.json | OrderedMessageSender throughput improvement
Before this change messages were sent serially across sessions but
ordering is important only within a session. This leads to head of
line blocking when a session is slow to send, and also enforcement of
send buffer size and time limits is precluded because it happens at
a l... | spring-messaging/src/test/java/org/springframework/messaging/simp/broker/OrderedMessageSenderTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2019 the original author or authors.
+ * Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,6 +16,10 @@
package org.springframewo... | true |
Other | spring-projects | spring-framework | 6884a3ac56074672d6649148c99f0beb73a4d260.json | Fix appendix typos in ContentDisposition | spring-web/src/main/java/org/springframework/http/ContentDisposition.java | @@ -129,7 +129,7 @@ public Charset getCharset() {
/**
* Return the value of the {@literal size} parameter, or {@code null} if not defined.
* @deprecated since 5.2.3 as per
- * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Apendix B</a>,
+ * <a href="https://tools.ietf.org/html/rfc6266#app... | false |
Other | spring-projects | spring-framework | 7205edac859c5195de46a0f506be9baf65588e8e.json | Fix typo in websocket.adoc
Closes gh-25630 | src/docs/asciidoc/web/websocket.adoc | @@ -2103,7 +2103,7 @@ While a `ChannelInterceptor` is invoked once for each message sent to a channel,
`ExecutorChannelInterceptor` provides hooks in the thread of each `MessageHandler`
subscribed to messages from the channel.
-Note that, as with the `SesionDisconnectEvent` described earlier, a DISCONNECT message
+... | false |
Other | spring-projects | spring-framework | f500ab0f9b0185cb5ccf784622de753a052b8421.json | Add mechanism to expose mock server results
WebTestClient is an actual client and generally it's only possible
to assert the client response (i.e. what goes over HTTP). However,
in a mock server scenario technically we have access to the server
request and response and can make those available for further
assertions.
... | spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeResult.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2019 the original author or authors.
+ * Copyright 2002-2020 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.
@@ -72,6 +72,9 @@ public class ExchangeResult {... | true |
Other | spring-projects | spring-framework | f500ab0f9b0185cb5ccf784622de753a052b8421.json | Add mechanism to expose mock server results
WebTestClient is an actual client and generally it's only possible
to assert the client response (i.e. what goes over HTTP). However,
in a mock server scenario technically we have access to the server
request and response and can make those available for further
assertions.
... | spring-test/src/main/java/org/springframework/test/web/reactive/server/MockServerClientHttpResponse.java | @@ -0,0 +1,35 @@
+/*
+ * Copyright 2002-2020 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 | f500ab0f9b0185cb5ccf784622de753a052b8421.json | Add mechanism to expose mock server results
WebTestClient is an actual client and generally it's only possible
to assert the client response (i.e. what goes over HTTP). However,
in a mock server scenario technically we have access to the server
request and response and can make those available for further
assertions.
... | spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java | @@ -88,15 +88,16 @@ public Mono<ClientHttpResponse> connect(HttpMethod method, URI uri,
* Create the {@link ExchangeResult} for the given "request-id" header value.
*/
ExchangeResult getExchangeResult(String requestId, @Nullable String uriTemplate, Duration timeout) {
- ClientExchangeInfo info = this.exchanges... | true |
Other | spring-projects | spring-framework | f500ab0f9b0185cb5ccf784622de753a052b8421.json | Add mechanism to expose mock server results
WebTestClient is an actual client and generally it's only possible
to assert the client response (i.e. what goes over HTTP). However,
in a mock server scenario technically we have access to the server
request and response and can make those available for further
assertions.
... | spring-test/src/test/java/org/springframework/test/web/reactive/server/HeaderAssertionTests.java | @@ -244,7 +244,7 @@ private HeaderAssertions headerAssertions(HttpHeaders responseHeaders) {
MonoProcessor<byte[]> emptyContent = MonoProcessor.fromSink(Sinks.one());
emptyContent.onComplete();
- ExchangeResult result = new ExchangeResult(request, response, emptyContent, emptyContent, Duration.ZERO, null);
+ ... | true |
Other | spring-projects | spring-framework | f500ab0f9b0185cb5ccf784622de753a052b8421.json | Add mechanism to expose mock server results
WebTestClient is an actual client and generally it's only possible
to assert the client response (i.e. what goes over HTTP). However,
in a mock server scenario technically we have access to the server
request and response and can make those available for further
assertions.
... | spring-test/src/test/java/org/springframework/test/web/reactive/server/StatusAssertionTests.java | @@ -160,7 +160,7 @@ private StatusAssertions statusAssertions(int status) {
MonoProcessor<byte[]> emptyContent = MonoProcessor.fromSink(Sinks.one());
emptyContent.onComplete();
- ExchangeResult result = new ExchangeResult(request, response, emptyContent, emptyContent, Duration.ZERO, null);
+ ExchangeResult re... | true |
Other | spring-projects | spring-framework | 36553264ceb10f651579d0d95aa3173e9fe7a32a.json | Fix document for core-bean.adoc
This is the orginal "A bean is an object that is instantiated, assembled, and otherwise managed by a Spring IoC container". Here's an extra word of "otherwise". | src/docs/asciidoc/core/core-beans.adoc | @@ -42,7 +42,7 @@ information on using the `BeanFactory` instead of the `ApplicationContext,` see
In Spring, the objects that form the backbone of your application and that are managed
by the Spring IoC container are called beans. A bean is an object that is
-instantiated, assembled, and otherwise managed by a Spri... | false |
Other | spring-projects | spring-framework | 79dfda73693b094ce38c7d674a2468c605d919fb.json | Add a comment about gradle/gradle#14017
See gh-24171 | spring-webmvc/spring-webmvc.gradle | @@ -62,7 +62,7 @@ dependencies {
testCompile("io.reactivex.rxjava3:rxjava")
testCompile("org.jetbrains.kotlin:kotlin-script-runtime")
testRuntime("org.jetbrains.kotlin:kotlin-scripting-jsr223")
- testRuntime("org.jetbrains.kotlinx:kotlinx-coroutines-core") // Temporary dependency to fix a NoClassDefFoundError err... | false |
Other | spring-projects | spring-framework | b28f403bf8314d27704b789a0eeda11f74aaf886.json | Fix Checkstyle violation
See gh-27303 | spring-web/src/test/java/org/springframework/web/util/UrlPathHelperTests.java | @@ -22,7 +22,7 @@
import org.springframework.web.testfixture.servlet.MockHttpServletRequest;
import static org.assertj.core.api.Assertions.assertThat;
-import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
+import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
... | false |
Other | spring-projects | spring-framework | 9f7a94058a4bbc967fe47bfe6a82d88cb3feddfb.json | Update copyright date
See gh-27298 | spring-aop/src/main/java/org/aopalliance/intercept/Joinpoint.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. | true |
Other | spring-projects | spring-framework | 9f7a94058a4bbc967fe47bfe6a82d88cb3feddfb.json | Update copyright date
See gh-27298 | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicate.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. | true |
Other | spring-projects | spring-framework | 9f7a94058a4bbc967fe47bfe6a82d88cb3feddfb.json | Update copyright date
See gh-27298 | spring-webmvc/src/main/java/org/springframework/web/servlet/function/RequestPredicate.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. | true |
Other | spring-projects | spring-framework | 9f7a94058a4bbc967fe47bfe6a82d88cb3feddfb.json | Update copyright date
See gh-27298 | spring-websocket/src/main/java/org/springframework/web/socket/adapter/standard/ConvertingEncoderDecoderSupport.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. | true |
Other | spring-projects | spring-framework | caf6760ddd5f616a8d71cd7445d5709f61296690.json | Fix grammatical errors in Javadoc
Closes gh-27298 | spring-aop/src/main/java/org/aopalliance/intercept/Joinpoint.java | @@ -26,7 +26,7 @@
* terminology).
*
* <p>A runtime joinpoint is an <i>event</i> that occurs on a static
- * joinpoint (i.e. a location in a the program). For instance, an
+ * joinpoint (i.e. a location in a program). For instance, an
* invocation is the runtime joinpoint on a method (static joinpoint).
* The ... | true |
Other | spring-projects | spring-framework | caf6760ddd5f616a8d71cd7445d5709f61296690.json | Fix grammatical errors in Javadoc
Closes gh-27298 | spring-web/src/main/java/org/springframework/web/util/UrlPathHelper.java | @@ -190,7 +190,7 @@ private void checkReadOnly() {
/**
* {@link #getLookupPathForRequest Resolve} the lookupPath and cache it in a
- * a request attribute with the key {@link #PATH_ATTRIBUTE} for subsequent
+ * request attribute with the key {@link #PATH_ATTRIBUTE} for subsequent
* access via {@link #getRes... | true |
Other | spring-projects | spring-framework | caf6760ddd5f616a8d71cd7445d5709f61296690.json | Fix grammatical errors in Javadoc
Closes gh-27298 | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicate.java | @@ -71,7 +71,7 @@ default RequestPredicate or(RequestPredicate other) {
/**
* Transform the given request into a request used for a nested route. For instance,
- * a path-based predicate can return a {@code ServerRequest} with a the path remaining
+ * a path-based predicate can return a {@code ServerRequest} w... | true |
Other | spring-projects | spring-framework | caf6760ddd5f616a8d71cd7445d5709f61296690.json | Fix grammatical errors in Javadoc
Closes gh-27298 | spring-webmvc/src/main/java/org/springframework/web/servlet/function/RequestPredicate.java | @@ -71,7 +71,7 @@ default RequestPredicate or(RequestPredicate other) {
/**
* Transform the given request into a request used for a nested route. For instance,
- * a path-based predicate can return a {@code ServerRequest} with a the path remaining
+ * a path-based predicate can return a {@code ServerRequest} w... | true |
Other | spring-projects | spring-framework | caf6760ddd5f616a8d71cd7445d5709f61296690.json | Fix grammatical errors in Javadoc
Closes gh-27298 | spring-websocket/src/main/java/org/springframework/web/socket/adapter/standard/ConvertingEncoderDecoderSupport.java | @@ -183,7 +183,7 @@ public boolean willDecode(M bytes) {
}
/**
- * Decode the a message into an object.
+ * Decode the message into an object.
* @see javax.websocket.Decoder.Text#decode(String)
* @see javax.websocket.Decoder.Binary#decode(ByteBuffer)
*/ | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java | @@ -37,7 +37,7 @@ final class RecordComponentWriter extends RecordComponentVisitor {
/** The name_index field of the Record attribute. */
private final int nameIndex;
- /** The descriptor_index field of the the Record attribute. */
+ /** The descriptor_index field of the Record attribute. */
private final ... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-core/src/main/java/org/springframework/cglib/core/KeyFactory.java | @@ -28,7 +28,7 @@
/**
* Generates classes to handle multi-valued keys, for use in things such as Maps and Sets.
- * Code for <code>equals</code> and <code>hashCode</code> methods follow the
+ * Code for <code>equals</code> and <code>hashCode</code> methods follow
* the rules laid out in <i>Effective Java</i> by ... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java | @@ -174,7 +174,7 @@ public int size() {
}
/**
- * Return the the maximum number of entries in the cache
+ * Return the maximum number of entries in the cache
* (0 indicates no caching, always generating a new value).
* @see #size()
*/ | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java | @@ -82,7 +82,7 @@
* <li>{@link #userDestinationMessageHandler}</li>
* </ul>
*
- * <p>{@link #brokerChannel} delivers messages from within the application to the
+ * <p>{@link #brokerChannel} delivers messages from within the application to
* the respective message handlers. {@link #brokerMessagingTemplate} can ... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-r2dbc/src/test/java/org/springframework/r2dbc/core/AbstractDatabaseClientIntegrationTests.java | @@ -59,7 +59,7 @@ public void before() {
protected abstract ConnectionFactory createConnectionFactory();
/**
- * Return the the CREATE TABLE statement for table {@code legoset} with the following
+ * Return the CREATE TABLE statement for table {@code legoset} with the following
* three columns:
* <ul>
... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-r2dbc/src/test/java/org/springframework/r2dbc/core/AbstractTransactionalDatabaseClientIntegrationTests.java | @@ -89,7 +89,7 @@ public void tearDown() {
protected abstract ConnectionFactory createConnectionFactory();
/**
- * Return the the CREATE TABLE statement for table {@code legoset} with the following three columns:
+ * Return the CREATE TABLE statement for table {@code legoset} with the following three columns:
... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-webflux/src/main/java/org/springframework/web/reactive/socket/HandshakeInfo.java | @@ -77,7 +77,7 @@ public HandshakeInfo(URI uri, HttpHeaders headers, Mono<Principal> principal, @N
}
/**
- * Constructor targeting server-side use with extra information such as the
+ * Constructor targeting server-side use with extra information such as
* the remote address, attributes, and a log prefix.
... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/PatternsRequestCondition.java | @@ -87,7 +87,7 @@ public PatternsRequestCondition(String[] patterns, boolean useTrailingSlashMatc
* Variant of {@link #PatternsRequestCondition(String...)} with a
* {@link UrlPathHelper} and a {@link PathMatcher}, and whether to match
* trailing slashes.
- * <p>As of 5.3 the the path is obtained through the ... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/RequestMappingInfo.java | @@ -47,7 +47,7 @@
import org.springframework.web.util.pattern.PathPatternParser;
/**
- * Request mapping information. A composite for the the following conditions:
+ * Request mapping information. A composite for the following conditions:
* <ol>
* <li>{@link PathPatternsRequestCondition} with parsed {@code Path... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethod.java | @@ -194,7 +194,7 @@ private String formatErrorForReturnValue(@Nullable Object returnValue) {
}
/**
- * Create a nested ServletInvocableHandlerMethod subclass that returns the
+ * Create a nested ServletInvocableHandlerMethod subclass that returns
* the given value (or raises an Exception if the value is one)... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java | @@ -106,7 +106,7 @@ public SockJsServiceRegistration setTaskScheduler(TaskScheduler scheduler) {
* also be set to point to a URL served by the application.
* <p>Note that it's possible to specify a relative URL in which case the URL
* must be relative to the iframe URL. For example assuming a SockJS endpoint
-... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java | @@ -153,7 +153,7 @@ public String getName() {
* However, it can also be set to point to a URL served by the application.
* <p>Note that it's possible to specify a relative URL in which case the URL
* must be relative to the iframe URL. For example assuming a SockJS endpoint
- * mapped to "/sockjs", and result... | true |
Other | spring-projects | spring-framework | ac722772588633508690940ca40b928c81f90a63.json | Fix duplicate "the" in Javadoc and XSD
See gh-27291 | spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket.xsd | @@ -141,8 +141,8 @@
Note that it's possible to specify a relative URL in which case the URL
must be relative to the iframe URL. For example assuming a SockJS endpoint
- mapped to "/sockjs", and resulting iframe URL "/sockjs/iframe.html", then the
- The relative URL must start with "../../" to traverse up to the l... | true |
Other | spring-projects | spring-framework | 77a562dfee04cfb4a76a84257cf33fd73ab6b696.json | Add doOnDiscard hook for streaming mode
Potential fix for issue reported at
https://github.com/reactor/reactor-netty/issues/1746 | spring-web/src/main/java/org/springframework/http/codec/EncoderHttpMessageWriter.java | @@ -141,16 +141,18 @@ public Mono<Void> write(Publisher<? extends T> inputStream, ResolvableType eleme
}
if (isStreamingMediaType(contentType)) {
- return message.writeAndFlushWith(body.map(buffer -> {
- Hints.touchDataBuffer(buffer, hints, logger);
- return Mono.just(buffer).doOnDiscard(PooledDataBuffe... | false |
Other | spring-projects | spring-framework | 3a35d79c72b1152313aec5d499f678fb57a96099.json | Fix typo in DefaultPartHttpMessageReader
See gh-27260 | spring-web/src/main/java/org/springframework/http/codec/multipart/DefaultPartHttpMessageReader.java | @@ -191,7 +191,7 @@ public void setStreaming(boolean streaming) {
* Defaults to UTF-8 as per RFC 7578.
* @param headersCharset the charset to use for decoding headers
* @since 5.3.6
- * @see <a href="https://tools.ietf.org/html/rfc7578#section-5.1">RFC-7578 Section 5.2</a>
+ * @see <a href="https://tools.iet... | false |
Other | spring-projects | spring-framework | e290ae285cfc8d8e48b0685ce580262bef1a2688.json | Improve Javadoc for ClientRequest#from
See gh-27220 | spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ClientRequest.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.
@@ -125,8 +125,8 @@ default Optional<Object> at... | true |
Other | spring-projects | spring-framework | e290ae285cfc8d8e48b0685ce580262bef1a2688.json | Improve Javadoc for ClientRequest#from
See gh-27220 | spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultClientRequestBuilderTests.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.
@@ -56,6 +56,8 @@ public void from() throws URI... | true |
Other | spring-projects | spring-framework | f2be4e93203d2949a8e46466f92a1715954b85b5.json | Use MessageSource for @ExceptionHandler methods
Follow-up for commit bb816c123ca86c6f373ee2bd1632f43c117a8f15
See gh-27203 | spring-web/src/main/java/org/springframework/web/method/HandlerMethod.java | @@ -102,11 +102,20 @@ public class HandlerMethod {
* Create an instance from a bean instance and a method.
*/
public HandlerMethod(Object bean, Method method) {
+ this(bean, method, null);
+ }
+
+
+ /**
+ * Variant of {@link #HandlerMethod(Object, Method)} that
+ * also accepts a {@link MessageSource}.
+ */... | true |
Other | spring-projects | spring-framework | f2be4e93203d2949a8e46466f92a1715954b85b5.json | Use MessageSource for @ExceptionHandler methods
Follow-up for commit bb816c123ca86c6f373ee2bd1632f43c117a8f15
See gh-27203 | spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java | @@ -20,6 +20,7 @@
import java.lang.reflect.Method;
import java.util.Arrays;
+import org.springframework.context.MessageSource;
import org.springframework.core.CoroutinesUtils;
import org.springframework.core.DefaultParameterNameDiscoverer;
import org.springframework.core.KotlinDetector;
@@ -71,6 +72,14 @@ public... | true |
Other | spring-projects | spring-framework | f2be4e93203d2949a8e46466f92a1715954b85b5.json | Use MessageSource for @ExceptionHandler methods
Follow-up for commit bb816c123ca86c6f373ee2bd1632f43c117a8f15
See gh-27203 | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java | @@ -483,7 +483,7 @@ protected ServletInvocableHandlerMethod getExceptionHandlerMethod(
}
Method method = resolver.resolveMethod(exception);
if (method != null) {
- return new ServletInvocableHandlerMethod(handlerMethod.getBean(), method);
+ return new ServletInvocableHandlerMethod(handlerMethod.getBea... | true |
Other | spring-projects | spring-framework | f2be4e93203d2949a8e46466f92a1715954b85b5.json | Use MessageSource for @ExceptionHandler methods
Follow-up for commit bb816c123ca86c6f373ee2bd1632f43c117a8f15
See gh-27203 | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethod.java | @@ -25,6 +25,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
+import org.springframework.context.MessageSource;
import org.springframework.core.KotlinDetector;
import org.springframework.core.MethodParameter;
import org.springframework.core.ResolvableType;
@@ -68... | true |
Other | spring-projects | spring-framework | f2be4e93203d2949a8e46466f92a1715954b85b5.json | Use MessageSource for @ExceptionHandler methods
Follow-up for commit bb816c123ca86c6f373ee2bd1632f43c117a8f15
See gh-27203 | spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolverTests.java | @@ -19,7 +19,9 @@
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.io.Writer;
+import java.net.SocketTimeoutException;
import java.util.Collections;
+import java.util.Locale;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
@@ -30,8 +32,11 @@
... | true |
Other | spring-projects | spring-framework | 915f1027a571f850c177a0a7da9263ead95599df.json | Update copyright date
See gh-27223 | spring-core/src/main/java/org/springframework/util/ObjectUtils.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 | c2f91765b401c2976fd802358e6453d0fad0d2fd.json | Fix typo in Javadoc in AbstractHandlerMapping
Closes gh-27218 | spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMapping.java | @@ -276,7 +276,7 @@ public void setInterceptors(Object... interceptors) {
* determines the {@code CorsConfiguration} to use which is then further
* {@link CorsConfiguration#combine(CorsConfiguration) combined} with the
* {@code CorsConfiguration} for the selected handler.
- * <p>This is mutually exclusie with... | false |
Other | spring-projects | spring-framework | e0c0e7f878df0d0e0c5a8ebb615f22527390d72e.json | Fix typo in ref docs | src/docs/asciidoc/web/webmvc.adoc | @@ -5386,7 +5386,7 @@ You can configure how Spring MVC determines the requested media types from the r
By default, only the `Accept` header is checked.
-If you must use URL-based content type resolution, consider using the query parameten
+If you must use URL-based content type resolution, consider using the query... | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.