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 | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/cache/support/package-info.java | @@ -2,4 +2,7 @@
* Support classes for the org.springframework.cache package.
* Provides abstract classes for cache managers and caches.
*/
+@NonNullApi
package org.springframework.cache.support;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/ApplicationContext.java | @@ -21,6 +21,7 @@
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
import org.springframework.core.env.EnvironmentCapable;
import org.springframework.core.io.support.ResourcePatternResolver;
+import org.springframework.lang.Nullable;
/**
* Central interface to provide configuration fo... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java | @@ -24,6 +24,7 @@
import org.springframework.core.env.ConfigurableEnvironment;
import org.springframework.core.env.Environment;
import org.springframework.core.io.ProtocolResolver;
+import org.springframework.lang.Nullable;
/**
* SPI interface to be implemented by most if not all application contexts.
@@ -100,7... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/HierarchicalMessageSource.java | @@ -16,6 +16,8 @@
package org.springframework.context;
+import org.springframework.lang.Nullable;
+
/**
* Sub-interface of MessageSource to be implemented by objects that
* can resolve messages hierarchically.
@@ -32,11 +34,12 @@ public interface HierarchicalMessageSource extends MessageSource {
* resolve ... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/MessageSource.java | @@ -18,6 +18,8 @@
import java.util.Locale;
+import org.springframework.lang.Nullable;
+
/**
* Strategy interface for resolving messages, with support for the parameterization
* and internationalization of such messages.
@@ -51,7 +53,7 @@ public interface MessageSource {
* otherwise the default message pass... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/MessageSourceResolvable.java | @@ -16,6 +16,8 @@
package org.springframework.context;
+import org.springframework.lang.Nullable;
+
/**
* Interface for objects that are suitable for message resolution in a
* {@link MessageSource}.
@@ -44,6 +46,7 @@ public interface MessageSourceResolvable {
* placeholders within the message text
* @se... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/AdviceModeImportSelector.java | @@ -21,8 +21,9 @@
import org.springframework.core.GenericTypeResolver;
import org.springframework.core.annotation.AnnotationAttributes;
import org.springframework.core.type.AnnotationMetadata;
+import org.springframework.lang.Nullable;
- /**
+/**
* Convenient base class for {@link ImportSelector} implementations... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/AnnotatedBeanDefinitionReader.java | @@ -30,6 +30,7 @@
import org.springframework.core.env.Environment;
import org.springframework.core.env.EnvironmentCapable;
import org.springframework.core.env.StandardEnvironment;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -153,7 +154,7 @@ public void registerBean(C... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java | @@ -26,6 +26,7 @@
import org.springframework.beans.factory.support.BeanNameGenerator;
import org.springframework.core.annotation.AnnotationAttributes;
import org.springframework.core.type.AnnotationMetadata;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springfra... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java | @@ -23,6 +23,7 @@
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.context.support.GenericApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigUtils.java | @@ -37,6 +37,7 @@
import org.springframework.core.annotation.AnnotationAwareOrderComparator;
import org.springframework.core.type.AnnotatedTypeMetadata;
import org.springframework.core.type.AnnotationMetadata;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
/**
@@ -143,7 +1... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java | @@ -51,6 +51,7 @@
import org.springframework.core.type.filter.AnnotationTypeFilter;
import org.springframework.core.type.filter.AssignableTypeFilter;
import org.springframework.core.type.filter.TypeFilter;
+import org.springframework.lang.Nullable;
import org.springframework.stereotype.Component;
import org.spring... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/ConditionContext.java | @@ -20,6 +20,7 @@
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.core.env.Environment;
import org.springframework.core.io.ResourceLoader;
+import org.springframework.lang.Nullable;
/**
* Context information for use by {@link Condition}s.
@@ -34,6 +35,7 @@ pub... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/ConditionEvaluator.java | @@ -31,6 +31,7 @@
import org.springframework.core.io.ResourceLoader;
import org.springframework.core.type.AnnotatedTypeMetadata;
import org.springframework.core.type.AnnotationMetadata;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springframework.util.MultiValue... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClass.java | @@ -31,6 +31,7 @@
import org.springframework.core.type.AnnotationMetadata;
import org.springframework.core.type.StandardAnnotationMetadata;
import org.springframework.core.type.classreading.MetadataReader;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassEnhancer.java | @@ -49,6 +49,7 @@
import org.springframework.cglib.transform.ClassEmitterTransformer;
import org.springframework.cglib.transform.TransformingClassGenerator;
import org.springframework.core.annotation.AnnotatedElementUtils;
+import org.springframework.lang.Nullable;
import org.springframework.objenesis.ObjenesisExce... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java | @@ -72,6 +72,7 @@
import org.springframework.core.type.classreading.MetadataReader;
import org.springframework.core.type.classreading.MetadataReaderFactory;
import org.springframework.core.type.filter.AssignableTypeFilter;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import or... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/MBeanExportConfiguration.java | @@ -32,6 +32,7 @@
import org.springframework.jmx.support.RegistrationPolicy;
import org.springframework.jmx.support.WebSphereMBeanServerFactoryBean;
import org.springframework.jndi.JndiLocatorDelegate;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springframework... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/annotation/package-info.java | @@ -3,4 +3,7 @@
* annotations, component-scanning, and Java-based metadata for creating
* Spring-managed objects.
*/
+@NonNullApi
package org.springframework.context.annotation;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/config/MBeanServerBeanDefinitionParser.java | @@ -26,6 +26,7 @@
import org.springframework.jmx.support.MBeanServerFactoryBean;
import org.springframework.jmx.support.WebSphereMBeanServerFactoryBean;
import org.springframework.jndi.JndiObjectFactoryBean;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springfra... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/config/package-info.java | @@ -2,4 +2,7 @@
* Support package for advanced application context configuration,
* with XML schema being the primary configuration format.
*/
+@NonNullApi
package org.springframework.context.config;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/event/ApplicationEventMulticaster.java | @@ -19,6 +19,7 @@
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.core.ResolvableType;
+import org.springframework.lang.Nullable;
/**
* Interface to be implemented by objects that can manage a number of
@@ -81,6 +82,6 @@ pub... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/event/ApplicationListenerMethodAdapter.java | @@ -36,6 +36,7 @@
import org.springframework.core.annotation.AnnotatedElementUtils;
import org.springframework.core.annotation.Order;
import org.springframework.expression.EvaluationContext;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ObjectUti... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/event/GenericApplicationListenerAdapter.java | @@ -21,6 +21,7 @@
import org.springframework.context.ApplicationListener;
import org.springframework.core.Ordered;
import org.springframework.core.ResolvableType;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -88,7 +89,7 @@ public int getOrder() {
return (this.deleg... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/event/package-info.java | @@ -2,4 +2,7 @@
* Support classes for application events, like standard context events.
* To be supported by all major application context implementations.
*/
+@NonNullApi
package org.springframework.context.event;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/expression/package-info.java | @@ -1,4 +1,7 @@
/**
* Expression parsing support within a Spring application context.
*/
+@NonNullApi
package org.springframework.context.expression;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/i18n/LocaleContext.java | @@ -18,6 +18,8 @@
import java.util.Locale;
+import org.springframework.lang.Nullable;
+
/**
* Strategy interface for determining the current Locale.
*
@@ -36,6 +38,7 @@ public interface LocaleContext {
* depending on the implementation strategy.
* @return the current Locale, or {@code null} if no specif... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/i18n/LocaleContextHolder.java | @@ -21,6 +21,7 @@
import org.springframework.core.NamedInheritableThreadLocal;
import org.springframework.core.NamedThreadLocal;
+import org.springframework.lang.Nullable;
/**
* Simple holder class that associates a LocaleContext instance
@@ -74,7 +75,7 @@ public static void resetLocaleContext() {
* @see Si... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/i18n/TimeZoneAwareLocaleContext.java | @@ -18,6 +18,8 @@
import java.util.TimeZone;
+import org.springframework.lang.Nullable;
+
/**
* Extension of {@link LocaleContext}, adding awareness of the current time zone.
*
@@ -37,6 +39,7 @@ public interface TimeZoneAwareLocaleContext extends LocaleContext {
* depending on the implementation strategy.
... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/i18n/package-info.java | @@ -2,4 +2,7 @@
* Abstraction for determining the current Locale,
* plus global holder that exposes a thread-bound Locale.
*/
+@NonNullApi
package org.springframework.context.i18n;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/index/CandidateComponentsIndexLoader.java | @@ -30,6 +30,7 @@
import org.springframework.core.SpringProperties;
import org.springframework.core.io.UrlResource;
import org.springframework.core.io.support.PropertiesLoaderUtils;
+import org.springframework.lang.Nullable;
import org.springframework.util.ConcurrentReferenceHashMap;
/**
@@ -75,14 +76,16 @@ publ... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/index/package-info.java | @@ -1,4 +1,7 @@
/**
* Support package for reading and managing the components index.
*/
+@NonNullApi
package org.springframework.context.index;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/package-info.java | @@ -10,4 +10,7 @@
* is that application objects can often be configured without
* any dependency on Spring-specific APIs.
*/
+@NonNullApi
package org.springframework.context;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/AbstractMessageSource.java | @@ -26,6 +26,7 @@
import org.springframework.context.MessageSource;
import org.springframework.context.MessageSourceResolvable;
import org.springframework.context.NoSuchMessageException;
+import org.springframework.lang.Nullable;
import org.springframework.util.ObjectUtils;
/**
@@ -93,6 +94,7 @@ public void setC... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/AbstractRefreshableConfigApplicationContext.java | @@ -19,6 +19,7 @@
import org.springframework.beans.factory.BeanNameAware;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.ApplicationContext;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/AbstractResourceBasedMessageSource.java | @@ -19,6 +19,7 @@
import java.util.LinkedHashSet;
import java.util.Set;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ObjectUtils;
@@ -126,6 +127,7 @@ public void setDefaultEncoding(String defaultEncoding) {
* Return the default charset to ... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/AbstractXmlApplicationContext.java | @@ -24,6 +24,7 @@
import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
import org.springframework.context.ApplicationContext;
import org.springframework.core.io.Resource;
+import org.springframework.lang.Nullable;
/**
* Convenient base class for {@link org.springframework.context.ApplicationCon... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/GenericApplicationContext.java | @@ -34,6 +34,7 @@
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import org.springframework.core.io.support.ResourcePatternResolver;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -384,7 +385,7 @@ public final <T> void re... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/LiveBeansView.java | @@ -31,6 +31,7 @@
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.ApplicationContextException;
import org.springframework.context.ConfigurableApplicationContext;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframew... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/MessageSourceAccessor.java | @@ -22,6 +22,7 @@
import org.springframework.context.MessageSourceResolvable;
import org.springframework.context.NoSuchMessageException;
import org.springframework.context.i18n.LocaleContextHolder;
+import org.springframework.lang.Nullable;
/**
* Helper class for easy access to messages from a MessageSource,
@@... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/MessageSourceResourceBundle.java | @@ -22,6 +22,7 @@
import org.springframework.context.MessageSource;
import org.springframework.context.NoSuchMessageException;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -70,6 +71,7 @@ public MessageSourceResourceBundle(MessageSource source, Locale locale, Resource... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/MessageSourceSupport.java | @@ -24,6 +24,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.springframework.lang.Nullable;
import org.springframework.util.ObjectUtils;
/**
@@ -96,7 +97,7 @@ protected boolean isAlwaysUseMessageFormat() {
* @return the rendered default message (with reso... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java | @@ -33,6 +33,7 @@
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
+import org.springframework.lang.Nullable;
import org.springframework.util.DefaultPropertiesPersister;
import org.springframework.util.Properti... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/ResourceBundleMessageSource.java | @@ -35,6 +35,7 @@
import java.util.Set;
import org.springframework.beans.factory.BeanClassLoaderAware;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
/**
@@ -165,6 +166,7 @@ protected MessageFormat resolveCode(String code, Locale locale) {
* @return the resulting Resou... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/support/package-info.java | @@ -3,4 +3,7 @@
* such as abstract base classes for ApplicationContext
* implementations and a MessageSource implementation.
*/
+@NonNullApi
package org.springframework.context.support;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/weaving/AspectJWeavingEnabler.java | @@ -29,6 +29,7 @@
import org.springframework.core.Ordered;
import org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver;
import org.springframework.instrument.classloading.LoadTimeWeaver;
+import org.springframework.lang.Nullable;
/**
* Post-processor that registers AspectJ's
@@ -77,7 +78,7 ... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/weaving/DefaultContextLoadTimeWeaver.java | @@ -32,6 +32,7 @@
import org.springframework.instrument.classloading.tomcat.TomcatLoadTimeWeaver;
import org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver;
import org.springframework.instrument.classloading.websphere.WebSphereLoadTimeWeaver;
+import org.springframework.lang.Nullable;
/**... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/weaving/LoadTimeWeaverAwareProcessor.java | @@ -22,6 +22,7 @@
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.instrument.classloading.LoadTimeWeaver;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -65,... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/context/weaving/package-info.java | @@ -2,4 +2,7 @@
* Load-time weaving support for a Spring application context, building on Spring's
* {@link org.springframework.instrument.classloading.LoadTimeWeaver} abstraction.
*/
+@NonNullApi
package org.springframework.context.weaving;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of f... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/ejb/access/AbstractRemoteSlsbInvokerInterceptor.java | @@ -25,6 +25,7 @@
import org.aopalliance.intercept.MethodInvocation;
+import org.springframework.lang.Nullable;
import org.springframework.remoting.RemoteConnectFailureException;
import org.springframework.remoting.RemoteLookupFailureException;
import org.springframework.remoting.rmi.RmiClientInterceptorUtils;
... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/ejb/access/AbstractSlsbInvokerInterceptor.java | @@ -25,6 +25,7 @@
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.jndi.JndiObjectLocator;
+import org.springframework.lang.Nullable;
/**
* Base class for AOP interceptors invoking local or remote Stateless Session Beans.
@@ -132,6 +133,7 @@ protected void refreshHome() throws Nami... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/ejb/access/package-info.java | @@ -19,4 +19,7 @@
* It now uses FactoryBeans and AOP, rather than the custom bean definitions described in
* <i>Expert One-on-One J2EE</i>.
*/
+@NonNullApi
package org.springframework.ejb.access;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/ejb/config/package-info.java | @@ -2,4 +2,7 @@
* Support package for EJB/Java EE-related configuration,
* with XML schema being the primary configuration format.
*/
+@NonNullApi
package org.springframework.ejb.config;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/annotation/package-info.java | @@ -1,4 +1,7 @@
/**
* Annotations for declaratively configuring field formatting rules.
*/
+@NonNullApi
package org.springframework.format.annotation;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/joda/DateTimeFormatterFactory.java | @@ -24,6 +24,7 @@
import org.joda.time.format.ISODateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;
+import org.springframework.lang.Nullable;
import org.springframework.util.StringUtils;
/**
@@ -129,7 +130,7 @@ public DateTimeFormatter createDateTimeFormatter() {
* factory prop... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/joda/JodaTimeContext.java | @@ -25,6 +25,7 @@
import org.springframework.context.i18n.LocaleContext;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.context.i18n.TimeZoneAwareLocaleContext;
+import org.springframework.lang.Nullable;
/**
* A context that holds user-specific Joda-Time settings such as... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/joda/JodaTimeContextHolder.java | @@ -21,6 +21,7 @@
import org.joda.time.format.DateTimeFormatter;
import org.springframework.core.NamedThreadLocal;
+import org.springframework.lang.Nullable;
/**
* A holder for a thread-local {@link JodaTimeContext}
@@ -49,7 +50,7 @@ public static void resetJodaTimeContext() {
* @param jodaTimeContext the c... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/joda/package-info.java | @@ -1,4 +1,7 @@
/**
* Integration with Joda-Time for formatting Joda date and time types as well as standard JDK Date types.
*/
+@NonNullApi
package org.springframework.format.datetime.joda;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/package-info.java | @@ -1,4 +1,7 @@
/**
* Formatters for {@code java.util.Date} properties.
*/
+@NonNullApi
package org.springframework.format.datetime;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeContext.java | @@ -24,6 +24,7 @@
import org.springframework.context.i18n.LocaleContext;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.context.i18n.TimeZoneAwareLocaleContext;
+import org.springframework.lang.Nullable;
/**
* A context that holds user-specific <code>java.time</code> (JS... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeContextHolder.java | @@ -20,6 +20,7 @@
import java.util.Locale;
import org.springframework.core.NamedThreadLocal;
+import org.springframework.lang.Nullable;
/**
* A holder for a thread-local user {@link DateTimeContext}.
@@ -46,7 +47,7 @@ public static void resetDateTimeContext() {
* @param dateTimeContext the current DateTimeC... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeFormatterFactory.java | @@ -22,6 +22,7 @@
import java.util.TimeZone;
import org.springframework.format.annotation.DateTimeFormat.ISO;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
@@ -131,6 +132,7 @@ public void setStylePattern(String style) {
this.ti... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/datetime/standard/package-info.java | @@ -1,4 +1,7 @@
/**
* Integration with the JSR-310 <code>java.time</code> package in JDK 8.
*/
+@NonNullApi
package org.springframework.format.datetime.standard;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/number/money/package-info.java | @@ -1,4 +1,7 @@
/**
* Integration with the JSR-354 <code>javax.money</code> package.
*/
+@NonNullApi
package org.springframework.format.number.money;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/number/package-info.java | @@ -1,4 +1,7 @@
/**
* Formatters for {@code java.lang.Number} properties.
*/
+@NonNullApi
package org.springframework.format.number;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/package-info.java | @@ -1,4 +1,7 @@
/**
* An API for defining Formatters to format field model values for display in a UI.
*/
+@NonNullApi
package org.springframework.format;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/format/support/package-info.java | @@ -2,4 +2,7 @@
* Support classes for the formatting package,
* providing common implementations as well as adapters.
*/
+@NonNullApi
package org.springframework.format.support;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/instrument/classloading/InstrumentationLoadTimeWeaver.java | @@ -24,6 +24,7 @@
import java.util.List;
import org.springframework.instrument.InstrumentationSavingAgent;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;
@@ -139,6 +140,7 @@ public static boolean isInstrumentationAvailable() {
* ... | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/instrument/classloading/glassfish/package-info.java | @@ -1,4 +1,7 @@
/**
* Support for class instrumentation on GlassFish.
*/
+@NonNullApi
package org.springframework.instrument.classloading.glassfish;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/instrument/classloading/jboss/package-info.java | @@ -1,4 +1,7 @@
/**
* Support for class instrumentation on JBoss AS 6 and 7.
*/
+@NonNullApi
package org.springframework.instrument.classloading.jboss;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/instrument/classloading/package-info.java | @@ -2,4 +2,7 @@
* Support package for load time weaving based on class loaders,
* as required by JPA providers (but not JPA-specific).
*/
+@NonNullApi
package org.springframework.instrument.classloading;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java | @@ -1,4 +1,7 @@
/**
* Support for class instrumentation on Tomcat.
*/
+@NonNullApi
package org.springframework.instrument.classloading.tomcat;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 87598f48e41d483745aba56cbf4e998c6f6d680c.json | Introduce null-safety of Spring Framework API
This commit introduces 2 new @Nullable and @NonNullApi
annotations that leverage JSR 305 (dormant but available via
Findbugs jsr305 dependency and already used by libraries
like OkHttp) meta-annotations to specify explicitly
null-safety of Spring Framework parameters and r... | spring-context/src/main/java/org/springframework/instrument/classloading/weblogic/package-info.java | @@ -1,4 +1,7 @@
/**
* Support for class instrumentation on BEA WebLogic 10+.
*/
+@NonNullApi
package org.springframework.instrument.classloading.weblogic;
+
+import org.springframework.lang.NonNullApi;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | bc2e1b375e399c0cc6300c32351458110eee6d4f.json | Correct the javadoc for ExchangeResult.getUrl() | spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeResult.java | @@ -101,7 +101,7 @@ public HttpMethod getMethod() {
}
/**
- * Return the request headers that were sent to the server.
+ * Return the URI of the request.
*/
public URI getUrl() {
return this.request.getURI(); | false |
Other | spring-projects | spring-framework | be0b67119121901dc0221e0181a6cdee30e568dc.json | Upgrade nio-multipart-parser to 1.1.0
Issue: SPR-15515 | build.gradle | @@ -76,7 +76,7 @@ configure(allprojects) { project ->
ext.junitPlatformVersion = '1.0.0-M4'
ext.log4jVersion = '2.8.2'
ext.nettyVersion = "4.1.11.Final"
- ext.niomultipartVersion = "1.0.2"
+ ext.niomultipartVersion = "1.1.0"
ext.okhttp3Version = "3.8.0"
ext.poiVersion ... | true |
Other | spring-projects | spring-framework | be0b67119121901dc0221e0181a6cdee30e568dc.json | Upgrade nio-multipart-parser to 1.1.0
Issue: SPR-15515 | spring-web/src/main/java/org/springframework/http/codec/multipart/SynchronossPartHttpMessageReader.java | @@ -127,7 +127,7 @@ public void accept(FluxSink<Part> emitter) {
Charset charset = Optional.ofNullable(mediaType.getCharset()).orElse(StandardCharsets.UTF_8);
MultipartContext context = new MultipartContext(mediaType.toString(), length, charset.name());
- NioMultipartParserListener listener = new FluxSinkAd... | true |
Other | spring-projects | spring-framework | be0b67119121901dc0221e0181a6cdee30e568dc.json | Upgrade nio-multipart-parser to 1.1.0
Issue: SPR-15515 | spring-web/src/test/java/org/springframework/http/codec/multipart/MultipartHttpMessageWriterTests.java | @@ -16,6 +16,7 @@
package org.springframework.http.codec.multipart;
+import java.time.Duration;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
@@ -26,6 +27,7 @@
import org.springframework.core.ResolvableType;
import org.springframework.core.codec.CharSequenceEncoder;
+import o... | true |
Other | spring-projects | spring-framework | 4d4c3d5c0b74d55c4dd6a0927e813f54724cdb5f.json | Replace bindToHttpHandler with bindToWebHandler
This commit replaces the option to bind the WebTestClient to an
HttpHandler to bind to a WebHandler instead.
This allows testing below the WebFlux level such as WebFilter,
WebHandler, or WebSession scenarios, but still a level above
HttpHandler so that WebTestClient is ... | spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultMockServerSpec.java | @@ -0,0 +1,43 @@
+/*
+ * Copyright 2002-2017 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ ... | true |
Other | spring-projects | spring-framework | 4d4c3d5c0b74d55c4dd6a0927e813f54724cdb5f.json | Replace bindToHttpHandler with bindToWebHandler
This commit replaces the option to bind the WebTestClient to an
HttpHandler to bind to a WebHandler instead.
This allows testing below the WebFlux level such as WebFilter,
WebHandler, or WebSession scenarios, but still a level above
HttpHandler so that WebTestClient is ... | spring-test/src/main/java/org/springframework/test/web/reactive/server/MockServerExchangeMutator.java | @@ -33,9 +33,10 @@
* transformations during requests from the {@code WebTestClient} to a mock
* server -- i.e. when one of the following is in use:
* <ul>
- * <li>{@link WebTestClient#bindToController},
+ * <li>{@link WebTestClient#bindToController}
* <li>{@link WebTestClient#bindToRouterFunction}
- * <li>{@lin... | true |
Other | spring-projects | spring-framework | 4d4c3d5c0b74d55c4dd6a0927e813f54724cdb5f.json | Replace bindToHttpHandler with bindToWebHandler
This commit replaces the option to bind the WebTestClient to an
HttpHandler to bind to a WebHandler instead.
This allows testing below the WebFlux level such as WebFilter,
WebHandler, or WebSession scenarios, but still a level above
HttpHandler so that WebTestClient is ... | spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java | @@ -34,7 +34,6 @@
import org.springframework.http.MediaType;
import org.springframework.http.client.reactive.ClientHttpRequest;
import org.springframework.http.codec.ServerCodecConfigurer;
-import org.springframework.http.server.reactive.HttpHandler;
import org.springframework.util.MultiValueMap;
import org.spring... | true |
Other | spring-projects | spring-framework | 4d4c3d5c0b74d55c4dd6a0927e813f54724cdb5f.json | Replace bindToHttpHandler with bindToWebHandler
This commit replaces the option to bind the WebTestClient to an
HttpHandler to bind to a WebHandler instead.
This allows testing below the WebFlux level such as WebFilter,
WebHandler, or WebSession scenarios, but still a level above
HttpHandler so that WebTestClient is ... | spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/WebFilterTests.java | @@ -17,39 +17,35 @@
package org.springframework.test.web.reactive.server.samples.bind;
import java.nio.charset.StandardCharsets;
-import java.util.Collections;
import org.junit.Test;
import reactor.core.publisher.Mono;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.core.io.... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractor.java | @@ -16,10 +16,9 @@
package org.springframework.web.reactive.function;
+import java.util.List;
import java.util.Map;
import java.util.Optional;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import org.springframework.http.ReactiveHttpInputMessage;
import org.springframework.http.codec.... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractors.java | @@ -19,9 +19,7 @@
import java.util.List;
import java.util.Optional;
import java.util.function.Function;
-import java.util.function.Supplier;
import java.util.stream.Collectors;
-import java.util.stream.Stream;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
@@ -197,14 +195,14 @@ privat... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyInserter.java | @@ -16,10 +16,9 @@
package org.springframework.web.reactive.function;
+import java.util.List;
import java.util.Map;
import java.util.Optional;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import reactor.core.publisher.Mono;
@@ -54,11 +53,10 @@
interface Context {
/**
- * Su... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyInserters.java | @@ -18,9 +18,7 @@
import java.util.List;
import java.util.Optional;
-import java.util.function.Supplier;
import java.util.stream.Collectors;
-import java.util.stream.Stream;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Mono;
@@ -141,7 +139,7 @@ public static <T extends Resource> BodyInse... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultClientRequestBuilder.java | @@ -18,10 +18,9 @@
import java.net.URI;
import java.util.Collections;
+import java.util.List;
import java.util.Map;
import java.util.Optional;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Mono;
@@ -187,7 +186,7 @@ pub... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultClientResponse.java | @@ -21,8 +21,6 @@
import java.util.Map;
import java.util.Optional;
import java.util.OptionalLong;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
@@ -79,7 +77,7 @@ public MultiValueMap<String, ResponseCookie> cookies() ... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultExchangeStrategiesBuilder.java | @@ -20,8 +20,6 @@
import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import org.springframework.http.codec.ClientCodecConfigurer;
import org.springframework.http.codec.HttpMessageReader;
@@ -88,13 +86,13 @... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeStrategies.java | @@ -16,9 +16,8 @@
package org.springframework.web.reactive.function.client;
+import java.util.List;
import java.util.function.Consumer;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import org.springframework.http.codec.ClientCodecConfigurer;
import org.springframework.http.codec.HttpM... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultEntityResponseBuilder.java | @@ -23,11 +23,10 @@
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedHashSet;
+import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import reactor.core.publisher.Mono;
@@ -2... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultHandlerStrategiesBuilder.java | @@ -20,8 +20,6 @@
import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import org.springframework.http.codec.CodecConfigurer;
import org.springframework.http.codec.HttpMessageReader;
@@ -135,28 +133,28 @@ pr... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultRenderingResponseBuilder.java | @@ -164,7 +164,7 @@ public Mono<Void> writeTo(ServerWebExchange exchange, Context context) {
writeStatusAndHeaders(response);
MediaType contentType = exchange.getResponse().getHeaders().getContentType();
Locale locale = resolveLocale(exchange);
- Stream<ViewResolver> viewResolverStream = context.viewResol... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultServerRequest.java | @@ -20,15 +20,14 @@
import java.net.URI;
import java.nio.charset.Charset;
import java.security.Principal;
+import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Optional;
import java.util.OptionalLong;
import java.util.... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultServerResponseBuilder.java | @@ -23,12 +23,11 @@
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedHashSet;
+import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.function.BiFunction;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
impo... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/HandlerStrategies.java | @@ -16,9 +16,8 @@
package org.springframework.web.reactive.function.server;
+import java.util.List;
import java.util.function.Consumer;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import org.springframework.http.codec.HttpMessageReader;
import org.springframework.http.codec.HttpMessa... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java | @@ -16,10 +16,10 @@
package org.springframework.web.reactive.function.server;
+import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.function.Supplier;
-import java.util.stream.Stream;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFac... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerRequest.java | @@ -187,7 +187,7 @@ default String pathVariable(String name) {
static ServerRequest create(ServerWebExchange exchange,
List<HttpMessageReader<?>> messageReaders) {
- return new DefaultServerRequest(exchange, messageReaders::stream);
+ return new DefaultServerRequest(exchange, messageReaders);
}
/** | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java | @@ -19,11 +19,10 @@
import java.net.URI;
import java.time.ZonedDateTime;
import java.util.Collection;
+import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.BiFunction;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import org.reactivestreams.Publis... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/main/java/org/springframework/web/reactive/function/server/support/ServerResponseResultHandler.java | @@ -18,8 +18,6 @@
import java.util.Collections;
import java.util.List;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import reactor.core.publisher.Mono;
@@ -99,13 +97,13 @@ public Mono<Void> handleResult(ServerWebExchange exchange, HandlerResult result)
Assert.state(response != null,... | true |
Other | spring-projects | spring-framework | 31d1e26c95ebaf179a20ffe9b1328a21857954c3.json | Use List<T> instead of Supplier<Stream<T>>
This commit changes all methods that return `Supplier<Stream<T>` to
return `List<T>` instead. This includes the HandlerStrategies, but also
BodyInserter.Context, BodyExtractor.Context, and ServerResponse.Context.
The reason for this change is that most of the strategies have... | spring-webflux/src/test/java/org/springframework/web/reactive/function/BodyExtractorsTests.java | @@ -24,8 +24,6 @@
import java.util.List;
import java.util.Map;
import java.util.Optional;
-import java.util.function.Supplier;
-import java.util.stream.Stream;
import com.fasterxml.jackson.annotation.JsonView;
import org.junit.Before;
@@ -86,8 +84,8 @@ public void createContext() {
this.context = new BodyEx... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.