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 | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/annotation/HttpRequest.java | @@ -0,0 +1,88 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/annotation/PostRequest.java | @@ -0,0 +1,62 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/annotation/PutRequest.java | @@ -0,0 +1,56 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/annotation/package-info.java | @@ -0,0 +1,9 @@
+/**
+ * Annotations to declare HTTP service, request methods.
+ */
+@NonNullApi
+@NonNullFields
+package org.springframework.web.service.annotation;
+
+import org.springframework.lang.NonNullApi;
+import org.springframework.lang.NonNullFields; | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/invoker/HttpClientAdapter.java | @@ -0,0 +1,50 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/invoker/HttpRequestDefinition.java | @@ -0,0 +1,192 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/invoker/HttpServiceMethod.java | @@ -0,0 +1,361 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/invoker/HttpServiceMethodArgumentResolver.java | @@ -0,0 +1,41 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/invoker/HttpServiceProxyFactory.java | @@ -0,0 +1,115 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/invoker/package-info.java | @@ -0,0 +1,9 @@
+/**
+ *
+ */
+@NonNullApi
+@NonNullFields
+package org.springframework.web.service.invoker;
+
+import org.springframework.lang.NonNullApi;
+import org.springframework.lang.NonNullFields; | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/main/java/org/springframework/web/service/package-info.java | @@ -0,0 +1,10 @@
+/**
+ * Annotations to declare an HTTP service contract with request methods along
+ * with a proxy factory backed by client-driven implementation.
+ */
+@NonNullApi
+@NonNullFields
+package org.springframework.web.service;
+
+import org.springframework.lang.NonNullApi;
+import org.springframework.lan... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-web/src/test/java/org/springframework/web/service/invoker/HttpServiceMethodTests.java | @@ -0,0 +1,378 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-webflux/src/main/java/org/springframework/web/reactive/function/client/support/WebClientAdapter.java | @@ -0,0 +1,116 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
... | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-webflux/src/main/java/org/springframework/web/reactive/service/package-info.java | @@ -0,0 +1,9 @@
+/**
+ * Support for an HTTP service proxy created from an interface declaration.
+ */
+@NonNullApi
+@NonNullFields
+package org.springframework.web.reactive.service;
+
+import org.springframework.lang.NonNullApi;
+import org.springframework.lang.NonNullFields; | true |
Other | spring-projects | spring-framework | c418768f05751b791434abb43a9ee6e68467b96e.json | Add @HttpRequest and HttpServiceProxyFactory
See gh-28386 | spring-webflux/src/test/java/org/springframework/web/reactive/function/client/support/WebClientHttpServiceProxyTests.java | @@ -0,0 +1,107 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
... | true |
Other | spring-projects | spring-framework | fcf64798b518149736983aa2ad1308d474a04664.json | Add Javadoc since for GraphQL constants
See gh-28369 | spring-core/src/main/java/org/springframework/util/MimeTypeUtils.java | @@ -67,18 +67,20 @@ public abstract class MimeTypeUtils {
/**
* Public constant mime type for {@code application/graphql+json}.
+ * @since 5.3.19
* @see <a href="https://github.com/graphql/graphql-over-http">GraphQL over HTTP spec</a>
- * */
+ */
public static final MimeType APPLICATION_GRAPHQL;
/**
... | true |
Other | spring-projects | spring-framework | fcf64798b518149736983aa2ad1308d474a04664.json | Add Javadoc since for GraphQL constants
See gh-28369 | spring-web/src/main/java/org/springframework/http/MediaType.java | @@ -97,12 +97,14 @@ public class MediaType extends MimeType implements Serializable {
/**
* Public constant media type for {@code application/graphql+json}.
+ * @since 5.3.19
* @see <a href="https://github.com/graphql/graphql-over-http">GraphQL over HTTP spec</a>
*/
public static final MediaType APPLICA... | true |
Other | spring-projects | spring-framework | b81c62d064f7b78fcca5deb973b10f6e49dc9af4.json | Update copyright year of changed file
See gh-28372 | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java | @@ -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. | false |
Other | spring-projects | spring-framework | 3017955eff827facc3e680422ba4f0103a545cb6.json | Update copyright year of changed file
See gh-28340 | spring-beans/src/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions.kt | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 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. | false |
Other | spring-projects | spring-framework | 22c82ff206b417074e9657cac3b557fe3a2dbb24.json | Fix method reference in Kotlin documentation
See gh-28340 | spring-beans/src/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions.kt | @@ -39,7 +39,7 @@ inline fun <reified T : Any> ListableBeanFactory.getBeansOfType(includeNonSingle
/**
* Extension for [ListableBeanFactory.getBeanNamesForAnnotation] providing a
- * `getBeansOfType<Foo>()` variant.
+ * `getBeanNamesForAnnotation<Foo>()` variant.
*
* @author Sebastien Deleuze
* @since 5.0 | false |
Other | spring-projects | spring-framework | 38019d224930ac7b24225b882743c574498a1f56.json | Allow static registration of RuntimeHints
Prior to this commit, we could only contribute `RuntimeHints` through
two mechanisms:
* `AotContributingBeanFactoryPostProcessor`, consdering the entire
`BeanFactory` and designed for contributing both code and hints.
* `AotContributingBeanPostProcessor`, consdering beans on... | spring-context/src/main/java/org/springframework/context/annotation/ImportRuntimeHints.java | @@ -0,0 +1,48 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 38019d224930ac7b24225b882743c574498a1f56.json | Allow static registration of RuntimeHints
Prior to this commit, we could only contribute `RuntimeHints` through
two mechanisms:
* `AotContributingBeanFactoryPostProcessor`, consdering the entire
`BeanFactory` and designed for contributing both code and hints.
* `AotContributingBeanPostProcessor`, consdering beans on... | spring-context/src/main/java/org/springframework/context/generator/ApplicationContextAotGenerator.java | @@ -150,6 +150,7 @@ private static List<AotContributingBeanFactoryPostProcessor> getAotContributingB
for (String ppName : postProcessorNames) {
postProcessors.add(beanFactory.getBean(ppName, AotContributingBeanFactoryPostProcessor.class));
}
+ postProcessors.add(new RuntimeHintsPostProcessor());
sortPostP... | true |
Other | spring-projects | spring-framework | 38019d224930ac7b24225b882743c574498a1f56.json | Allow static registration of RuntimeHints
Prior to this commit, we could only contribute `RuntimeHints` through
two mechanisms:
* `AotContributingBeanFactoryPostProcessor`, consdering the entire
`BeanFactory` and designed for contributing both code and hints.
* `AotContributingBeanPostProcessor`, consdering beans on... | spring-context/src/main/java/org/springframework/context/generator/RuntimeHintsPostProcessor.java | @@ -0,0 +1,92 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 38019d224930ac7b24225b882743c574498a1f56.json | Allow static registration of RuntimeHints
Prior to this commit, we could only contribute `RuntimeHints` through
two mechanisms:
* `AotContributingBeanFactoryPostProcessor`, consdering the entire
`BeanFactory` and designed for contributing both code and hints.
* `AotContributingBeanPostProcessor`, consdering beans on... | spring-context/src/test/java/org/springframework/context/generator/RuntimeHintsPostProcessorTests.java | @@ -0,0 +1,182 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
... | true |
Other | spring-projects | spring-framework | 38019d224930ac7b24225b882743c574498a1f56.json | Allow static registration of RuntimeHints
Prior to this commit, we could only contribute `RuntimeHints` through
two mechanisms:
* `AotContributingBeanFactoryPostProcessor`, consdering the entire
`BeanFactory` and designed for contributing both code and hints.
* `AotContributingBeanPostProcessor`, consdering beans on... | spring-context/src/test/resources/org/springframework/context/annotation/runtimehints/META-INF/spring.factories | @@ -0,0 +1 @@
+org.springframework.aot.hint.RuntimeHintsRegistrar=org.springframework.context.generator.RuntimeHintsPostProcessorTests.SampleRuntimeHintsRegistrar
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 38019d224930ac7b24225b882743c574498a1f56.json | Allow static registration of RuntimeHints
Prior to this commit, we could only contribute `RuntimeHints` through
two mechanisms:
* `AotContributingBeanFactoryPostProcessor`, consdering the entire
`BeanFactory` and designed for contributing both code and hints.
* `AotContributingBeanPostProcessor`, consdering beans on... | spring-core/src/main/java/org/springframework/aot/hint/RuntimeHintsRegistrar.java | @@ -0,0 +1,42 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/main/java/org/springframework/aot/hint/ClassProxyHint.java | @@ -20,7 +20,6 @@
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
-import java.util.stream.Collectors;
/**
* A hint that describes the need for a proxy against a concrete class.
@@ -55,6 +54,9 @@ public static Builder of(TypeReference targetClass) {
* @return a builder for the h... | true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/main/java/org/springframework/aot/hint/ExecutableHint.java | @@ -86,7 +86,7 @@ public List<ExecutableMode> getModes() {
/**
* Builder for {@link ExecutableHint}.
*/
- public static final class Builder {
+ public static class Builder {
private final String name;
@@ -95,7 +95,7 @@ public static final class Builder {
private final Set<ExecutableMode> modes = new L... | true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/main/java/org/springframework/aot/hint/FieldHint.java | @@ -66,7 +66,7 @@ public static class Builder {
private boolean allowUnsafeAccess;
- public Builder(String name) {
+ Builder(String name) {
this.name = name;
}
@@ -94,7 +94,7 @@ public Builder allowUnsafeAccess(boolean allowUnsafeAccess) {
* Create a {@link FieldHint} based on the state of this bu... | true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/main/java/org/springframework/aot/hint/JdkProxyHint.java | @@ -21,7 +21,6 @@
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
-import java.util.stream.Collectors;
/**
* A hint that describes the need of a JDK {@link Proxy}, that is an
@@ -39,6 +38,24 @@ private JdkProxyHint(Builder builder) {
this.proxiedInterfaces = List.copyOf(builder.... | true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/main/java/org/springframework/aot/hint/ProxyHints.java | @@ -16,13 +16,9 @@
package org.springframework.aot.hint;
-import java.util.Arrays;
import java.util.LinkedHashSet;
-import java.util.List;
import java.util.Set;
import java.util.function.Consumer;
-import java.util.function.Supplier;
-import java.util.stream.Collectors;
import java.util.stream.Stream;
impor... | true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/main/java/org/springframework/aot/hint/ResourceHints.java | @@ -25,6 +25,7 @@
import java.util.stream.Stream;
import org.springframework.aot.hint.ResourcePatternHint.Builder;
+import org.springframework.lang.Nullable;
/**
* Gather the need for resources available at runtime.
@@ -72,7 +73,7 @@ public Stream<ResourceBundleHint> resourceBundles() {
* @param resourceHin... | true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/main/java/org/springframework/aot/hint/ResourcePatternHint.java | @@ -96,7 +96,7 @@ public Builder excludes(String... excludes) {
* builder.
* @return a resource pattern hint
*/
- public ResourcePatternHint build() {
+ ResourcePatternHint build() {
return new ResourcePatternHint(this);
}
| true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/main/java/org/springframework/aot/hint/TypeHint.java | @@ -223,7 +223,7 @@ public Builder withMembers(MemberCategory... memberCategories) {
* Create a {@link TypeHint} based on the state of this builder.
* @return a type hint
*/
- public TypeHint build() {
+ TypeHint build() {
return new TypeHint(this);
}
| true |
Other | spring-projects | spring-framework | 780d07217b35226c2827111d9a0cb2ed5f84176c.json | Hide builder implementations in RuntimeHints API | spring-core/src/test/java/org/springframework/aot/hint/ProxyHintsTests.java | @@ -21,13 +21,10 @@
import java.util.Properties;
import java.util.function.Consumer;
import java.util.function.Function;
-import java.util.function.Supplier;
import java.util.stream.Stream;
import org.junit.jupiter.api.Test;
-import org.springframework.aot.hint.JdkProxyHint.Builder;
-
import static org.assert... | true |
Other | spring-projects | spring-framework | 069aab37cd4392a6419148e37721ca4bdb748b1c.json | Use proper format for TypeReference
This commit updates BasicJsonWriter to handle TypeReferences and
generate an appropriate format for a class name. Specifically, an
inner class should be separated by a dollar sign, not a dot.
Closes gh-28312 | spring-core/src/main/java/org/springframework/aot/nativex/BasicJsonWriter.java | @@ -23,6 +23,9 @@
import java.util.Map;
import java.util.function.Consumer;
+import org.springframework.aot.hint.TypeReference;
+import org.springframework.lang.Nullable;
+
/**
* Very basic json writer for the purposes of translating runtime hints to native
* configuration.
@@ -129,6 +132,9 @@ private void wri... | true |
Other | spring-projects | spring-framework | 069aab37cd4392a6419148e37721ca4bdb748b1c.json | Use proper format for TypeReference
This commit updates BasicJsonWriter to handle TypeReferences and
generate an appropriate format for a class name. Specifically, an
inner class should be separated by a dollar sign, not a dot.
Closes gh-28312 | spring-core/src/main/java/org/springframework/aot/nativex/JavaSerializationHintsWriter.java | @@ -42,7 +42,7 @@ public void write(BasicJsonWriter writer, JavaSerializationHints hints) {
private Map<String, Object> toAttributes(TypeReference typeReference) {
LinkedHashMap<String, Object> attributes = new LinkedHashMap<>();
- attributes.put("name", typeReference.getCanonicalName());
+ attributes.put("nam... | true |
Other | spring-projects | spring-framework | 069aab37cd4392a6419148e37721ca4bdb748b1c.json | Use proper format for TypeReference
This commit updates BasicJsonWriter to handle TypeReferences and
generate an appropriate format for a class name. Specifically, an
inner class should be separated by a dollar sign, not a dot.
Closes gh-28312 | spring-core/src/main/java/org/springframework/aot/nativex/ReflectionHintsWriter.java | @@ -52,7 +52,7 @@ public void write(BasicJsonWriter writer, ReflectionHints hints) {
private Map<String, Object> toAttributes(TypeHint hint) {
Map<String, Object> attributes = new LinkedHashMap<>();
- attributes.put("name", hint.getType().getCanonicalName());
+ attributes.put("name", hint.getType());
handle... | true |
Other | spring-projects | spring-framework | 069aab37cd4392a6419148e37721ca4bdb748b1c.json | Use proper format for TypeReference
This commit updates BasicJsonWriter to handle TypeReferences and
generate an appropriate format for a class name. Specifically, an
inner class should be separated by a dollar sign, not a dot.
Closes gh-28312 | spring-core/src/test/java/org/springframework/aot/nativex/BasicJsonWriterTests.java | @@ -24,6 +24,9 @@
import org.junit.jupiter.api.Test;
+import org.springframework.aot.hint.TypeReference;
+import org.springframework.aot.nativex.BasicJsonWriterTests.Nested.Inner;
+
import static org.assertj.core.api.Assertions.assertThat;
/**
@@ -136,49 +139,66 @@ void writeObjectWithNestedEmptyObject() {
... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/main/java/org/springframework/aot/nativex/FileNativeConfigurationGenerator.java | @@ -1,136 +0,0 @@
-/*
- * 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.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/main/java/org/springframework/aot/nativex/FileNativeConfigurationWriter.java | @@ -0,0 +1,86 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/main/java/org/springframework/aot/nativex/JavaSerializationHintsWriter.java | @@ -16,15 +16,14 @@
package org.springframework.aot.nativex;
-import java.io.StringWriter;
import java.util.LinkedHashMap;
import java.util.Map;
import org.springframework.aot.hint.JavaSerializationHints;
import org.springframework.aot.hint.TypeReference;
/**
- * Serialize a {@link JavaSerializationHints}... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/main/java/org/springframework/aot/nativex/NativeConfigurationGenerator.java | @@ -1,36 +0,0 @@
-/*
- * 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.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
-... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/main/java/org/springframework/aot/nativex/NativeConfigurationWriter.java | @@ -0,0 +1,85 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/main/java/org/springframework/aot/nativex/ProxyHintsWriter.java | @@ -16,7 +16,6 @@
package org.springframework.aot.nativex;
-import java.io.StringWriter;
import java.util.LinkedHashMap;
import java.util.Map;
@@ -25,7 +24,7 @@
import org.springframework.aot.hint.TypeReference;
/**
- * Serialize {@link JdkProxyHint}s contained in a {@link ProxyHints} to the JSON
+ * Write... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/main/java/org/springframework/aot/nativex/ReflectionHintsWriter.java | @@ -16,7 +16,6 @@
package org.springframework.aot.nativex;
-import java.io.StringWriter;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
@@ -34,7 +33,7 @@
import org.springframework.lang.Nullable;
/**
- * Serialize {@link ReflectionHints} to the JSON output expected by th... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/main/java/org/springframework/aot/nativex/ResourceHintsWriter.java | @@ -16,7 +16,6 @@
package org.springframework.aot.nativex;
-import java.io.StringWriter;
import java.util.Arrays;
import java.util.Collection;
import java.util.LinkedHashMap;
@@ -32,7 +31,7 @@
import org.springframework.lang.Nullable;
/**
- * Serialize a {@link ResourceHints} to the JSON output expected by ... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/test/java/org/springframework/aot/nativex/FileNativeConfigurationWriterTests.java | @@ -45,31 +45,31 @@
import static org.assertj.core.api.Assertions.assertThat;
/**
- * Tests for {@link FileNativeConfigurationGenerator}.
+ * Tests for {@link FileNativeConfigurationWriter}.
*
* @author Sebastien Deleuze
*/
-public class FileNativeConfigurationGeneratorTests {
+public class FileNativeConfigur... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/test/java/org/springframework/aot/nativex/JavaSerializationHintsWriterTests.java | @@ -16,6 +16,8 @@
package org.springframework.aot.nativex;
+import java.io.StringWriter;
+
import org.json.JSONException;
import org.junit.jupiter.api.Test;
import org.skyscreamer.jsonassert.JSONAssert;
@@ -26,13 +28,11 @@
import org.springframework.core.env.Environment;
/**
- * Tests for {@link JavaSeriali... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/test/java/org/springframework/aot/nativex/ProxyHintsWriterTests.java | @@ -16,6 +16,7 @@
package org.springframework.aot.nativex;
+import java.io.StringWriter;
import java.util.function.Consumer;
import java.util.function.Function;
@@ -27,13 +28,11 @@
import org.springframework.aot.hint.ProxyHints;
/**
- * Tests for {@link ProxyHintsSerializer}.
+ * Tests for {@link ProxyHint... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/test/java/org/springframework/aot/nativex/ReflectionHintsWriterTests.java | @@ -16,6 +16,7 @@
package org.springframework.aot.nativex;
+import java.io.StringWriter;
import java.nio.charset.Charset;
import java.util.Collections;
import java.util.List;
@@ -33,13 +34,11 @@
import org.springframework.util.MimeType;
/**
- * Tests for {@link ReflectionHintsSerializer}.
+ * Tests for {@li... | true |
Other | spring-projects | spring-framework | f65136dd684711bbd4c1b2bb3b3493f966b48983.json | Harmonize the use of Writer rather than Generator | spring-core/src/test/java/org/springframework/aot/nativex/ResourceHintsWriterTests.java | @@ -16,6 +16,8 @@
package org.springframework.aot.nativex;
+import java.io.StringWriter;
+
import org.json.JSONException;
import org.junit.jupiter.api.Test;
import org.skyscreamer.jsonassert.JSONAssert;
@@ -24,13 +26,11 @@
import org.springframework.aot.hint.ResourceHints;
/**
- * Tests for {@link ResourceH... | true |
Other | spring-projects | spring-framework | 1cf112bfa4ba7f75a3db7a0f9ea4716d9434692f.json | Harmonize json format in tests | spring-core/src/test/java/org/springframework/aot/nativex/FileNativeConfigurationGeneratorTests.java | @@ -72,8 +72,8 @@ void serializationConfig() throws IOException, JSONException {
generator.generate(hints);
assertEquals("""
[
- { "name" : "java.lang.Integer" },
- { "name" : "java.lang.Long" }
+ { "name": "java.lang.Integer" },
+ { "name": "java.lang.Long" }
]""", "serialization-config... | true |
Other | spring-projects | spring-framework | 1cf112bfa4ba7f75a3db7a0f9ea4716d9434692f.json | Harmonize json format in tests | spring-core/src/test/java/org/springframework/aot/nativex/JavaSerializationHintsSerializerTests.java | @@ -45,7 +45,7 @@ void one() throws JSONException {
JavaSerializationHints hints = new JavaSerializationHints().registerType(TypeReference.of(String.class));
assertEquals("""
[
- { "name" : "java.lang.String" }
+ { "name": "java.lang.String" }
]""", hints);
}
@@ -56,8 +56,8 @@ void two() thr... | true |
Other | spring-projects | spring-framework | 1cf112bfa4ba7f75a3db7a0f9ea4716d9434692f.json | Harmonize json format in tests | spring-core/src/test/java/org/springframework/aot/nativex/ProxyHintsSerializerTests.java | @@ -47,7 +47,7 @@ void one() throws JSONException {
hints.registerJdkProxy(Function.class);
assertEquals("""
[
- { "interfaces" : [ "java.util.function.Function" ] }
+ { "interfaces": [ "java.util.function.Function" ] }
]""", hints);
}
@@ -58,8 +58,8 @@ void two() throws JSONException {
h... | true |
Other | spring-projects | spring-framework | 1cf112bfa4ba7f75a3db7a0f9ea4716d9434692f.json | Harmonize json format in tests | spring-core/src/test/java/org/springframework/aot/nativex/ReflectionHintsSerializerTests.java | @@ -73,30 +73,30 @@ void one() throws JSONException {
assertEquals("""
[
{
- "name" : "org.springframework.core.codec.StringDecoder",
- "condition" : { "typeReachable" : "java.lang.String" },
- "allPublicFields" : true,
- "allDeclaredFields" : true,
- "queryAllPublicConstructors" ... | true |
Other | spring-projects | spring-framework | 1cf112bfa4ba7f75a3db7a0f9ea4716d9434692f.json | Harmonize json format in tests | spring-core/src/test/java/org/springframework/aot/nativex/ResourceHintsSerializerTests.java | @@ -16,8 +16,6 @@
package org.springframework.aot.nativex;
-import java.io.IOException;
-
import org.json.JSONException;
import org.junit.jupiter.api.Test;
import org.skyscreamer.jsonassert.JSONAssert;
@@ -35,22 +33,22 @@ public class ResourceHintsSerializerTests {
private final ResourceHintsSerializer serial... | true |
Other | spring-projects | spring-framework | 9adfa5e8b0f0cd65a0b14740e0a0f9832d80edcb.json | Add HEAD support in MVC/WebFlux Resource handling
This commit introduces explicit HEAD support in Spring
MVC's ResourceHttpRequestHandler and WebFlux's ResourceWebHandler,
adding just headers but no body.
Closes gh-28291 | spring-web/src/main/java/org/springframework/http/codec/ResourceHttpMessageWriter.java | @@ -116,29 +116,38 @@ public Mono<Void> write(Publisher<? extends Resource> inputStream, ResolvableTyp
private Mono<Void> writeResource(Resource resource, ResolvableType type, @Nullable MediaType mediaType,
ReactiveHttpOutputMessage message, Map<String, Object> hints) {
- HttpHeaders headers = message.getHeade... | true |
Other | spring-projects | spring-framework | 9adfa5e8b0f0cd65a0b14740e0a0f9832d80edcb.json | Add HEAD support in MVC/WebFlux Resource handling
This commit introduces explicit HEAD support in Spring
MVC's ResourceHttpRequestHandler and WebFlux's ResourceWebHandler,
adding just headers but no body.
Closes gh-28291 | spring-web/src/main/java/org/springframework/http/converter/ResourceHttpMessageConverter.java | @@ -122,6 +122,14 @@ protected Long getContentLength(Resource resource, @Nullable MediaType contentTy
return (contentLength < 0 ? null : contentLength);
}
+ /**
+ * Adds the default headers for the given resource to the given message.
+ * @since 6.0
+ */
+ public void addDefaultHeaders(HttpOutputMessage messa... | true |
Other | spring-projects | spring-framework | 9adfa5e8b0f0cd65a0b14740e0a0f9832d80edcb.json | Add HEAD support in MVC/WebFlux Resource handling
This commit introduces explicit HEAD support in Spring
MVC's ResourceHttpRequestHandler and WebFlux's ResourceWebHandler,
adding just headers but no body.
Closes gh-28291 | spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java | @@ -438,10 +438,17 @@ public Mono<Void> handle(ServerWebExchange exchange) {
// Content phase
ResourceHttpMessageWriter writer = getResourceHttpMessageWriter();
Assert.state(writer != null, "No ResourceHttpMessageWriter");
- return writer.write(Mono.just(resource),
- null, ResolvableTyp... | true |
Other | spring-projects | spring-framework | 9adfa5e8b0f0cd65a0b14740e0a0f9832d80edcb.json | Add HEAD support in MVC/WebFlux Resource handling
This commit introduces explicit HEAD support in Spring
MVC's ResourceHttpRequestHandler and WebFlux's ResourceWebHandler,
adding just headers but no body.
Closes gh-28291 | spring-webflux/src/test/java/org/springframework/web/reactive/resource/ResourceWebHandlerTests.java | @@ -120,7 +120,10 @@ public void getResourceHttpHeader() throws Exception {
assertThat(headers.containsKey("Last-Modified")).isTrue();
assertThat(resourceLastModifiedDate("test/foo.css") / 1000).isEqualTo(headers.getLastModified() / 1000);
assertThat(headers.getFirst("Accept-Ranges")).isEqualTo("bytes");
- as... | true |
Other | spring-projects | spring-framework | 9adfa5e8b0f0cd65a0b14740e0a0f9832d80edcb.json | Add HEAD support in MVC/WebFlux Resource handling
This commit introduces explicit HEAD support in Spring
MVC's ResourceHttpRequestHandler and WebFlux's ResourceWebHandler,
adding just headers but no body.
Closes gh-28291 | spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java | @@ -585,7 +585,14 @@ public void handleRequest(HttpServletRequest request, HttpServletResponse respon
ServletServerHttpResponse outputMessage = new ServletServerHttpResponse(response);
if (request.getHeader(HttpHeaders.RANGE) == null) {
Assert.state(this.resourceHttpMessageConverter != null, "Not initialized"... | true |
Other | spring-projects | spring-framework | 9adfa5e8b0f0cd65a0b14740e0a0f9832d80edcb.json | Add HEAD support in MVC/WebFlux Resource handling
This commit introduces explicit HEAD support in Spring
MVC's ResourceHttpRequestHandler and WebFlux's ResourceWebHandler,
adding just headers but no body.
Closes gh-28291 | spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandlerTests.java | @@ -118,7 +118,8 @@ public void getResourceHttpHeader() throws Exception {
assertThat(this.response.containsHeader("Last-Modified")).isTrue();
assertThat(this.response.getDateHeader("Last-Modified") / 1000).isEqualTo(resourceLastModified("test/foo.css") / 1000);
assertThat(this.response.getHeader("Accept-Range... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | framework-platform/framework-platform.gradle | @@ -94,7 +94,6 @@ dependencies {
api("org.apache.derby:derbyclient:10.14.2.0")
api("org.apache.httpcomponents.client5:httpclient5:5.1.3")
api("org.apache.httpcomponents.core5:httpcore5-reactive:5.1.3")
- api("org.apache.httpcomponents:httpclient:4.5.13")
api("org.apache.poi:poi-ooxml:5.2.2")
api("org.ap... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-web/spring-web.gradle | @@ -40,9 +40,6 @@ dependencies {
optional("org.eclipse.jetty:jetty-reactive-httpclient")
optional('org.apache.httpcomponents.client5:httpclient5')
optional('org.apache.httpcomponents.core5:httpcore5-reactive')
- optional("org.apache.httpcomponents:httpclient") {
- exclude group: "commons-logging", module: "commo... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-web/src/main/java/org/springframework/http/client/HttpComponentsClientHttpRequest.java | @@ -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.
@@ -18,18 +18,20 @@
import java.io.IOExcepti... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-web/src/main/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactory.java | @@ -19,23 +19,29 @@
import java.io.Closeable;
import java.io.IOException;
import java.net.URI;
+import java.util.concurrent.TimeUnit;
import java.util.function.BiFunction;
-import org.apache.http.client.HttpClient;
-import org.apache.http.client.config.RequestConfig;
-import org.apache.http.client.methods.Configu... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-web/src/main/java/org/springframework/http/client/HttpComponentsClientHttpResponse.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 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,14 +16,13 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-web/src/main/java/org/springframework/http/client/HttpComponentsStreamingClientHttpRequest.java | @@ -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,21 +20,24 @@
import java.io.InputStream... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-web/src/test/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactoryTests.java | @@ -18,18 +18,18 @@
import java.net.URI;
-import org.apache.http.HttpEntityEnclosingRequest;
-import org.apache.http.client.HttpClient;
-import org.apache.http.client.config.RequestConfig;
-import org.apache.http.client.methods.Configurable;
-import org.apache.http.client.methods.HttpUriRequest;
-import org.apache... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-web/src/test/java/org/springframework/http/server/reactive/ServerHttpsRequestIntegrationTests.java | @@ -18,12 +18,14 @@
import java.net.URI;
-import org.apache.http.conn.ssl.NoopHostnameVerifier;
-import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
-import org.apache.http.conn.ssl.TrustSelfSignedStrategy;
-import org.apache.http.impl.client.CloseableHttpClient;
-import org.apache.http.impl.client.HttpCli... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-webflux/spring-webflux.gradle | @@ -26,9 +26,6 @@ dependencies {
}
optional("org.eclipse.jetty.websocket:websocket-jetty-client")
optional("io.undertow:undertow-websockets-jsr-jakarta")
- optional("org.apache.httpcomponents:httpclient") {
- exclude group: "commons-logging", module: "commons-logging"
- }
optional("org.jetbrains.kotlin:kotlin-... | true |
Other | spring-projects | spring-framework | 990a34074ac609e259149c993d6cc308ad9a7a88.json | Upgrade RestTemplate to HttpClient 5
This commit upgrades the HttpComponentClientHttpRequestFactory and
related types from HttpClient version 4.5 to 5.
Closes gh-28925 | spring-webmvc/spring-webmvc.gradle | @@ -44,9 +44,6 @@ dependencies {
testImplementation("org.eclipse.jetty:jetty-server") {
exclude group: "jakarta.servlet", module: "jakarta.servlet-api"
}
- testImplementation("org.apache.httpcomponents:httpclient") {
- exclude group: "commons-logging", module: "commons-logging"
- }
testImplementation("commons... | true |
Other | spring-projects | spring-framework | cc3616da66ade8d4063a1a2c9507a12e812188e5.json | Remove unnecessary import | spring-core-test/src/test/java/org/springframework/core/test/io/support/MockSpringFactoriesLoaderTests.java | @@ -21,7 +21,6 @@
import org.junit.jupiter.api.Test;
import org.springframework.core.annotation.Order;
-import org.springframework.core.test.io.support.MockSpringFactoriesLoader;
import static org.assertj.core.api.Assertions.assertThat;
| false |
Other | spring-projects | spring-framework | 3e41d7f23e1729ce9524968eb5bc26f0851aecab.json | Remove extra asciidoctor configuration
See gh-29162 | CONTRIBUTING.md | @@ -66,7 +66,7 @@ follow-up reports will need to be created as new issues with a fresh description
#### Submit a Pull Request
1. If you have not previously done so, please sign the
-[Contributor License Agreement](https://cla.pivotal.io/sign/spring). You will be reminded
+[Contributor License Agreement](https://cla... | true |
Other | spring-projects | spring-framework | 3e41d7f23e1729ce9524968eb5bc26f0851aecab.json | Remove extra asciidoctor configuration
See gh-29162 | gradle/docs.gradle | @@ -68,22 +68,16 @@ pluginManager.withPlugin("kotlin") {
asciidoctorj {
def docRoot = 'https://docs.spring.io'
def docsSpringFramework = "${docRoot}/spring-framework/docs/${project.version}"
- version = '2.4.1'
+ version = '2.4.3'
fatalWarnings ".*"
options doctype: 'book', eruby: 'erubis'
attributes([
i... | true |
Other | spring-projects | spring-framework | 3e41d7f23e1729ce9524968eb5bc26f0851aecab.json | Remove extra asciidoctor configuration
See gh-29162 | src/docs/asciidoc/css/stylesheet.css | @@ -1,31 +0,0 @@
-@import 'css/spring.css';
-
-.listingblock .switch {
- border-style: none;
- display: inline-block;
- position: relative;
- bottom: -3px;
-}
-
-.listingblock .switch--item {
- padding: 10px;
- background-color: #e6e1dc;
- color: #282c34;
- display: inline-block;
- cursor: po... | true |
Other | spring-projects | spring-framework | 3e41d7f23e1729ce9524968eb5bc26f0851aecab.json | Remove extra asciidoctor configuration
See gh-29162 | src/docs/asciidoc/docinfo-footer.html | @@ -1,2 +0,0 @@
-<script type="text/javascript" src="js/tocbot/tocbot.min.js"></script>
-<script type="text/javascript" src="js/toc.js"></script> | true |
Other | spring-projects | spring-framework | 3e41d7f23e1729ce9524968eb5bc26f0851aecab.json | Remove extra asciidoctor configuration
See gh-29162 | src/docs/asciidoc/index.adoc | @@ -21,13 +21,7 @@ Email, Tasks, Scheduling, Caching.
https://github.com/spring-projects/spring-framework/wiki[*Wiki*] :: What's New,
Upgrade Notes, Supported Versions, and other cross-version information.
-ifdef::backend-html5[]
-NOTE: This documentation is also available as {docs-spring-framework}/reference/pdf/i... | true |
Other | spring-projects | spring-framework | 4b7aa6bb397f6a4738a75356f6fd8589fd686e11.json | Exclude core committers from generated changelog | ci/config/changelog-generator.yml | @@ -15,3 +15,6 @@ changelog:
sort: "title"
labels:
- "type: dependency-upgrade"
+ contributors:
+ exclude:
+ names: ["bclozel", "jhoeller", "philwebb", "poutsma", "rstoyanchev", "sbrannen", "sdeleuze", "snicoll", "wilkinsona"] | false |
Other | spring-projects | spring-framework | ae8b7973b408fac8dd666cbd03486227e440e820.json | Improve Javadoc on RequestEntity#getUrl
Closes gh-28930 | spring-web/src/main/java/org/springframework/http/RequestEntity.java | @@ -28,6 +28,7 @@
import org.springframework.lang.Nullable;
import org.springframework.util.MultiValueMap;
import org.springframework.util.ObjectUtils;
+import org.springframework.web.util.UriTemplateHandler;
/**
* Extension of {@link HttpEntity} that also exposes the HTTP method and the
@@ -158,11 +159,23 @@ p... | false |
Other | spring-projects | spring-framework | 02f61e3aaeebf3beb08317a0d3aa934a6d8fc747.json | Fix failing test in CancelWithoutDemandCodecTests
The test started failing after recent commit
e370c15bc60c520ad26150ac4b735efe6f0d5e57.
See gh-29038 | spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Encoder.java | @@ -36,7 +36,6 @@
import com.fasterxml.jackson.databind.SequenceWriter;
import com.fasterxml.jackson.databind.exc.InvalidDefinitionException;
import com.fasterxml.jackson.databind.ser.FilterProvider;
-import org.apache.commons.logging.Log;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
... | false |
Other | spring-projects | spring-framework | 6d5fa89efe224eb2afab348e1cacda20b06ad672.json | Remove Caucho exclusion for main
See gh-28876 | src/nohttp/allowlist.lines | @@ -1,5 +1,4 @@
^http://aopalliance.sourceforge.net.*
-^http://[^/]*caucho.com.*
^http://jibx.sourceforge.net.*
^http://mx4j.sourceforge.net.*
^http://objenesis.org.* | false |
Other | spring-projects | spring-framework | a879d18c9c18cfef8e13cb0adf2419f23566e574.json | Reintroduce Caucho exclusion for 5.3.x
See gh-28876 | src/nohttp/allowlist.lines | @@ -1,4 +1,5 @@
^http://aopalliance.sourceforge.net.*
+^http://[^/]*caucho.com.*
^http://jibx.sourceforge.net.*
^http://mx4j.sourceforge.net.*
^http://objenesis.org.* | false |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | gradle/docs.gradle | @@ -153,7 +153,7 @@ asciidoctorPdf {
task docsZip(type: Zip, dependsOn: ['api', 'asciidoctor', 'asciidoctorPdf', 'dokkaHtmlMultiModule']) {
group = "Distribution"
description = "Builds -${archiveClassifier} archive containing api and reference " +
- "for deployment at https://docs.spring.io/spring-framework/docs... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | import-into-idea.md | @@ -31,6 +31,6 @@ You'll notice these files are already intentionally in .gitignore. The same poli
## FAQ
-Q. What about IntelliJ IDEA's own [Gradle support](https://confluence.jetbrains.net/display/IDEADEV/Gradle+integration)?
+Q. What about IntelliJ IDEA's own [Gradle support](https://www.jetbrains.com/help/idea... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-context-support/src/main/resources/org/springframework/mail/javamail/mime.types | @@ -50,7 +50,7 @@ video/x-msvideo avi
################################################################################
#
# Additional file types adapted from
-# http://sites.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html
+# https://web.archive.org/web/20220119153325/http%3A//sites.utoronto.ca/webdo... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-context/src/main/java/org/springframework/scripting/bsh/package-info.java | @@ -1,6 +1,6 @@
/**
* Package providing integration of
- * <a href="http://www.beanshell.org">BeanShell</a>
+ * <a href="https://beanshell.github.io/">BeanShell</a>
* (and <a href="https://code.google.com/p/beanshell2/">BeanShell2</a>)
* into Spring's scripting infrastructure.
*/ | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-context/src/main/java/org/springframework/scripting/groovy/package-info.java | @@ -1,6 +1,6 @@
/**
* Package providing integration of
- * <a href="http://www.groovy-lang.org/">Groovy</a>
+ * <a href="https://www.groovy-lang.org/">Groovy</a>
* into Spring's scripting infrastructure.
*/
@NonNullApi | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-context/src/test/java/org/springframework/jmx/AbstractMBeanServerTests.java | @@ -46,11 +46,7 @@
* {@code jmxremote_optional.jar} into your classpath, for example in the {@code lib/ext}
* folder of your JVM.
*
- * <p>See also:
- * <ul>
- * <li><a href="https://jira.spring.io/browse/SPR-8093">SPR-8093</a></li>
- * <li><a href="https://issuetracker.springsource.com/browse/EBR-349">EBR-349</a... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-core/src/main/java/org/springframework/core/BridgeMethodResolver.java | @@ -226,7 +226,7 @@ private static Method searchForMatch(Class<?> type, Method bridgeMethod) {
/**
* Compare the signatures of the bridge method and the method which it bridges. If
* the parameter and return types are the same, it is a 'visibility' bridge method
- * introduced in Java 6 to fix https://bugs.jav... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-expression/readme.txt | @@ -31,10 +31,10 @@ Syntax
- Need to agree on a standard date format for 'default' processing of dates. Currently it is:
formatter = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss z", Locale.UK);
// this is something of this format: "Wed, 4 Jul 2001 12:08:56 GMT"
- // https://java.sun.com/j2se/1.4.2/docs/api/j... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-expression/src/test/java/org/springframework/expression/spel/ScenariosForSpringSecurityExpressionTests.java | @@ -39,7 +39,7 @@
///CLOVER:OFF
/**
- * Spring Security scenarios from https://wiki.springsource.com/display/SECURITY/Spring+Security+Expression-based+Authorization
+ * Spring Security scenarios from https://docs.spring.io/spring-security/reference/servlet/authorization/expression-based.html
*
* @author Andy Cl... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType.java | @@ -25,7 +25,7 @@
*/
public enum EmbeddedDatabaseType {
- /** The <a href="http://hsqldb.org">Hypersonic</a> Embedded Java SQL Database. */
+ /** The <a href="https://hsqldb.org">Hypersonic</a> Embedded Java SQL Database. */
HSQL,
/** The <a href="https://h2database.com">H2</a> Embedded Java SQL Database Eng... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-messaging/src/main/java/org/springframework/messaging/converter/JsonbMessageConverter.java | @@ -29,7 +29,7 @@
/**
* Implementation of {@link MessageConverter} that can read and write JSON
- * using the <a href="http://json-b.net/">JSON Binding API</a>.
+ * using the <a href="https://javaee.github.io/jsonb-spec/">JSON Binding API</a>.
*
* @author Juergen Hoeller
* @since 5.3 | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-test/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java | @@ -255,7 +255,7 @@ else if (expected instanceof String) {
* two are "similar" - i.e. they contain the same elements and attributes
* regardless of order.
* <p>Use of this matcher assumes the
- * <a href="http://xmlunit.sourceforge.net/">XMLUnit</a> library is available.
+ * <a href="https://www.xmlunit.org/... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-test/src/main/java/org/springframework/test/web/servlet/htmlunit/MockMvcWebConnection.java | @@ -40,7 +40,7 @@
/**
* {@code MockMvcWebConnection} enables {@link MockMvc} to transform a
* {@link WebRequest} into a {@link WebResponse}.
- * <p>This is the core integration with <a href="http://htmlunit.sourceforge.net/">HtmlUnit</a>.
+ * <p>This is the core integration with <a href="https://htmlunit.sourcefor... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-test/src/main/java/org/springframework/test/web/servlet/result/ContentResultMatchers.java | @@ -160,7 +160,7 @@ public ResultMatcher bytes(byte[] expectedContent) {
* are "similar" - i.e. they contain the same elements and attributes
* regardless of order.
* <p>Use of this matcher requires the <a
- * href="http://xmlunit.sourceforge.net/">XMLUnit</a> library.
+ * href="https://www.xmlunit.org/">XML... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-web/src/main/java/org/springframework/http/converter/json/JsonbHttpMessageConverter.java | @@ -31,7 +31,7 @@
/**
* Implementation of {@link org.springframework.http.converter.HttpMessageConverter}
* that can read and write JSON using the
- * <a href="http://json-b.net/">JSON Binding API</a>.
+ * <a href="https://javaee.github.io/jsonb-spec/">JSON Binding API</a>.
*
* <p>This converter can be used to... | true |
Other | spring-projects | spring-framework | ce49068ff92bfdc2e856038b37f5b19adcafff59.json | Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349: this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up ... | spring-web/src/main/java/org/springframework/web/util/JavaScriptUtils.java | @@ -21,7 +21,7 @@
* Escapes based on the JavaScript 1.5 recommendation.
*
* <p>Reference:
- * <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Values,_variables,_and_literals#String_literals">
+ * <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#string_lit... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.