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-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java | @@ -77,6 +77,7 @@
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.core.PriorityOrdered;
import org.springframework.core.ResolvableType;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springframework.util.ObjectUtils;
import org... | 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-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java | @@ -31,6 +31,7 @@
import org.springframework.beans.factory.config.ConstructorArgumentValues;
import org.springframework.core.io.DescriptiveResource;
import org.springframework.core.io.Resource;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ClassU... | 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-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinitionReader.java | @@ -30,6 +30,7 @@
import org.springframework.core.io.ResourceLoader;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
import org.springframework.core.io.support.ResourcePatternResolver;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -119,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-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java | @@ -71,6 +71,7 @@
import org.springframework.core.NamedThreadLocal;
import org.springframework.core.ResolvableType;
import org.springframework.core.convert.ConversionService;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;
import org.s... | 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-beans/src/main/java/org/springframework/beans/factory/support/AutowireCandidateResolver.java | @@ -18,6 +18,7 @@
import org.springframework.beans.factory.config.BeanDefinitionHolder;
import org.springframework.beans.factory.config.DependencyDescriptor;
+import org.springframework.lang.Nullable;
/**
* Strategy interface for determining whether a specific bean definition
@@ -64,6 +65,7 @@ default boolean ... | 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-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionReader.java | @@ -19,6 +19,7 @@
import org.springframework.beans.factory.BeanDefinitionStoreException;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
+import org.springframework.lang.Nullable;
/**
* Simple interface for bean definition readers.
@@ -70,6 +71,7 @@ public interfa... | 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-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionReaderUtils.java | @@ -20,6 +20,7 @@
import org.springframework.beans.factory.BeanFactoryUtils;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.config.BeanDefinitionHolder;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
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-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionValueResolver.java | @@ -37,6 +37,7 @@
import org.springframework.beans.factory.config.RuntimeBeanNameReference;
import org.springframework.beans.factory.config.RuntimeBeanReference;
import org.springframework.beans.factory.config.TypedStringValue;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
... | 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-beans/src/main/java/org/springframework/beans/factory/support/CglibSubclassingInstantiationStrategy.java | @@ -36,6 +36,7 @@
import org.springframework.cglib.proxy.MethodInterceptor;
import org.springframework.cglib.proxy.MethodProxy;
import org.springframework.cglib.proxy.NoOp;
+import org.springframework.lang.Nullable;
import org.springframework.util.StringUtils;
/**
@@ -111,7 +112,7 @@ private static class CglibSu... | 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-beans/src/main/java/org/springframework/beans/factory/support/ConstructorResolver.java | @@ -49,6 +49,7 @@
import org.springframework.core.MethodParameter;
import org.springframework.core.NamedThreadLocal;
import org.springframework.core.ParameterNameDiscoverer;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springframework.util.MethodInvoker;
import... | 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-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java | @@ -41,6 +41,7 @@
import java.util.Optional;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
+
import javax.inject.Provider;
import org.springframework.beans.BeanUtils;
@@ -72,6 +73,7 @@
import org.springframework.core.OrderComparator;
import org.springframework.core.ResolvableType;
impor... | 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-beans/src/main/java/org/springframework/beans/factory/support/DefaultSingletonBeanRegistry.java | @@ -36,6 +36,7 @@
import org.springframework.beans.factory.ObjectFactory;
import org.springframework.beans.factory.config.SingletonBeanRegistry;
import org.springframework.core.SimpleAliasRegistry;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.St... | 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-beans/src/main/java/org/springframework/beans/factory/support/DisposableBeanAdapter.java | @@ -34,6 +34,7 @@
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import ... | 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-beans/src/main/java/org/springframework/beans/factory/support/FactoryBeanRegistrySupport.java | @@ -29,6 +29,7 @@
import org.springframework.beans.factory.BeanCurrentlyInCreationException;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.FactoryBeanNotInitializedException;
+import org.springframework.lang.Nullable;
/**
* Support base class for singleton regist... | 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-beans/src/main/java/org/springframework/beans/factory/support/GenericTypeAwareAutowireCandidateResolver.java | @@ -26,6 +26,7 @@
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.config.DependencyDescriptor;
import org.springframework.core.ResolvableType;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
/**
@@ -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-beans/src/main/java/org/springframework/beans/factory/support/InstantiationStrategy.java | @@ -21,6 +21,7 @@
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
+import org.springframework.lang.Nullable;
/**
* Interface responsible for creating instances corresponding to a root bean definition.
@@ -44,7 +45,7 @@ public interface InstantiationStrateg... | 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-beans/src/main/java/org/springframework/beans/factory/support/LookupOverride.java | @@ -19,6 +19,7 @@
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
+import org.springframework.lang.Nullable;
import org.springframework.util.ObjectUtils;
/**
@@ -43,7 +44,7 @@ public class LookupOverride extends MethodOverride {
* @param beanName the name of the bean in the current {@code... | 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-beans/src/main/java/org/springframework/beans/factory/support/MethodOverrides.java | @@ -21,6 +21,8 @@
import java.util.LinkedHashSet;
import java.util.Set;
+import org.springframework.lang.Nullable;
+
/**
* Set of method overrides, determining which, if any, methods on a
* managed object the Spring IoC container will override at runtime.
@@ -95,6 +97,7 @@ public boolean isEmpty() {
* @para... | 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-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java | @@ -34,6 +34,7 @@
import org.springframework.beans.factory.config.RuntimeBeanReference;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.EncodedResource;
+import org.springframework.lang.Nullable;
import org.springframework.util.DefaultPropertiesPersister;
import org.springfr... | 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-beans/src/main/java/org/springframework/beans/factory/support/RootBeanDefinition.java | @@ -29,6 +29,7 @@
import org.springframework.beans.factory.config.BeanDefinitionHolder;
import org.springframework.beans.factory.config.ConstructorArgumentValues;
import org.springframework.core.ResolvableType;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -251,6 +252,... | 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-beans/src/main/java/org/springframework/beans/factory/support/SimpleInstantiationStrategy.java | @@ -27,6 +27,7 @@
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
+import org.springframework.lang.Nullable;
import org.springframework.util.ReflectionUtils;
import org.springframework.util.St... | 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-beans/src/main/java/org/springframework/beans/factory/support/SimpleSecurityContextProvider.java | @@ -19,6 +19,8 @@
import java.security.AccessControlContext;
import java.security.AccessController;
+import org.springframework.lang.Nullable;
+
/**
* Simple {@link SecurityContextProvider} implementation.
*
@@ -46,7 +48,7 @@ public SimpleSecurityContextProvider() {
* @param acc access control context (can ... | 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-beans/src/main/java/org/springframework/beans/factory/support/package-info.java | @@ -2,4 +2,7 @@
* Classes supporting the {@code org.springframework.beans.factory} package.
* Contains abstract base classes for {@code BeanFactory} implementations.
*/
+@NonNullApi
package org.springframework.beans.factory.support;
+
+import org.springframework.lang.NonNullApi; | 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-beans/src/main/java/org/springframework/beans/factory/wiring/BeanConfigurerSupport.java | @@ -26,6 +26,7 @@
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
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-beans/src/main/java/org/springframework/beans/factory/wiring/BeanWiringInfo.java | @@ -17,6 +17,7 @@
package org.springframework.beans.factory.wiring;
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -118,6 +119,7 @@ public boolean indicatesAutowiring() {
/**
* Return the ... | 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-beans/src/main/java/org/springframework/beans/factory/wiring/BeanWiringInfoResolver.java | @@ -16,6 +16,8 @@
package org.springframework.beans.factory.wiring;
+import org.springframework.lang.Nullable;
+
/**
* Strategy interface to be implemented by objects than can resolve bean name
* information, given a newly instantiated bean object. Invocations to the
@@ -39,6 +41,7 @@ public interface BeanWir... | 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-beans/src/main/java/org/springframework/beans/factory/wiring/package-info.java | @@ -2,4 +2,7 @@
* Mechanism to determine bean wiring metadata from a bean instance.
* Foundation for aspect-driven bean configuration.
*/
+@NonNullApi
package org.springframework.beans.factory.wiring;
+
+import org.springframework.lang.NonNullApi; | 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-beans/src/main/java/org/springframework/beans/factory/xml/AbstractSingleBeanDefinitionParser.java | @@ -20,6 +20,7 @@
import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
+import org.springframework.lang.Nullable;
/**
* Base class for those {@link BeanDefinitionParser} implementations that
@@ -95,6 +96,7 @@ protected ... | 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-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParser.java | @@ -19,6 +19,7 @@
import org.w3c.dom.Element;
import org.springframework.beans.factory.config.BeanDefinition;
+import org.springframework.lang.Nullable;
/**
* Interface used by the {@link DefaultBeanDefinitionDocumentReader} to handle custom,
@@ -51,6 +52,7 @@ public interface BeanDefinitionParser {
* provi... | 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-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java | @@ -58,6 +58,7 @@
import org.springframework.beans.factory.support.ManagedSet;
import org.springframework.beans.factory.support.MethodOverrides;
import org.springframework.beans.factory.support.ReplaceOverride;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springfram... | 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-beans/src/main/java/org/springframework/beans/factory/xml/BeansDtdResolver.java | @@ -25,6 +25,7 @@
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
+import org.springframework.lang.Nullable;
/**
* EntityResolver implementation for the Spring beans DTD,
@@ -50,6 +51,7 @@ public class BeansDtdResolver implements EntityResolver {
@Overri... | 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-beans/src/main/java/org/springframework/beans/factory/xml/DefaultNamespaceHandlerResolver.java | @@ -27,6 +27,7 @@
import org.springframework.beans.BeanUtils;
import org.springframework.beans.FatalBeanException;
import org.springframework.core.io.support.PropertiesLoaderUtils;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;
import... | 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-beans/src/main/java/org/springframework/beans/factory/xml/DelegatingEntityResolver.java | @@ -22,6 +22,7 @@
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -57,7 +58,7 @@ public class DelegatingEntityResolver implements EntityResolver {
* @param classLoader the ClassLoader to use for loading... | 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-beans/src/main/java/org/springframework/beans/factory/xml/NamespaceHandler.java | @@ -21,6 +21,7 @@
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.config.BeanDefinitionHolder;
+import org.springframework.lang.Nullable;
/**
* Base interface used by the {@link DefaultBeanDefinitionDocumentReader}
@@ -68,6 +69,7 @@ public interface Name... | 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-beans/src/main/java/org/springframework/beans/factory/xml/NamespaceHandlerResolver.java | @@ -16,6 +16,8 @@
package org.springframework.beans.factory.xml;
+import org.springframework.lang.Nullable;
+
/**
* Used by the {@link org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader} to
* locate a {@link NamespaceHandler} implementation for a particular namespace URI.
@@ -34,6 +36,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-beans/src/main/java/org/springframework/beans/factory/xml/PluggableSchemaResolver.java | @@ -30,6 +30,7 @@
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PropertiesLoaderUtils;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.CollectionUtils;
... | 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-beans/src/main/java/org/springframework/beans/factory/xml/XmlBeanDefinitionReader.java | @@ -20,6 +20,7 @@
import java.io.InputStream;
import java.util.HashSet;
import java.util.Set;
+
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
@@ -45,6 +46,7 @@
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import org.sprin... | 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-beans/src/main/java/org/springframework/beans/factory/xml/package-info.java | @@ -2,4 +2,7 @@
* Contains an abstract XML-based {@code BeanFactory} implementation,
* including a standard "spring-beans" XSD.
*/
+@NonNullApi
package org.springframework.beans.factory.xml;
+
+import org.springframework.lang.NonNullApi; | 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-beans/src/main/java/org/springframework/beans/package-info.java | @@ -9,4 +9,7 @@
* <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/">Expert One-On-One J2EE Design and Development</a>
* by Rod Johnson (Wrox, 2002).
*/
+@NonNullApi
package org.springframework.beans;
+
+import org.springframework.lang.NonNullApi; | 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-beans/src/main/java/org/springframework/beans/propertyeditors/ClassArrayEditor.java | @@ -18,6 +18,7 @@
import java.beans.PropertyEditorSupport;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
@@ -53,7 +54,7 @@ public ClassArrayEditor() {
* @param classLoader the {@... | 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-beans/src/main/java/org/springframework/beans/propertyeditors/ClassEditor.java | @@ -18,6 +18,7 @@
import java.beans.PropertyEditorSupport;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springframework.util.StringUtils;
@@ -52,7 +53,7 @@ public ClassEditor() {
* @param classLoader the ClassLoader to use
* (or {@code null} for the th... | 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-beans/src/main/java/org/springframework/beans/propertyeditors/CustomCollectionEditor.java | @@ -25,6 +25,7 @@
import java.util.SortedSet;
import java.util.TreeSet;
+import org.springframework.lang.Nullable;
import org.springframework.util.ReflectionUtils;
/**
@@ -207,6 +208,7 @@ protected Object convertElement(Object element) {
* there is no appropriate text representation.
*/
@Override
+ @Nul... | 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-beans/src/main/java/org/springframework/beans/propertyeditors/CustomMapEditor.java | @@ -22,6 +22,7 @@
import java.util.SortedMap;
import java.util.TreeMap;
+import org.springframework.lang.Nullable;
import org.springframework.util.ReflectionUtils;
/**
@@ -199,6 +200,7 @@ protected Object convertValue(Object value) {
* there is no appropriate text representation.
*/
@Override
+ @Nullabl... | 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-beans/src/main/java/org/springframework/beans/propertyeditors/InputStreamEditor.java | @@ -21,6 +21,7 @@
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceEditor;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -80,6 +81,7 @@ public void setAsText(String text) throws IllegalArgumentException {
* there is no appropr... | 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-beans/src/main/java/org/springframework/beans/propertyeditors/ReaderEditor.java | @@ -22,6 +22,7 @@
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceEditor;
import org.springframework.core.io.support.EncodedResource;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -80,6 +81,7 @@ public void setAsText(String text)... | 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-beans/src/main/java/org/springframework/beans/propertyeditors/URIEditor.java | @@ -22,6 +22,7 @@
import java.net.URISyntaxException;
import org.springframework.core.io.ClassPathResource;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springframework.util.ResourceUtils;
import org.springframework.util.StringUtils;
@@ -79,7 +80,7 @@ public U... | 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-beans/src/main/java/org/springframework/beans/propertyeditors/package-info.java | @@ -6,4 +6,7 @@
* "CustomXxxEditor" classes are intended for manual registration in
* specific binding processes, as they are localized or the like.
*/
+@NonNullApi
package org.springframework.beans.propertyeditors;
+
+import org.springframework.lang.NonNullApi; | 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-beans/src/main/java/org/springframework/beans/support/ArgumentConvertingMethodInvoker.java | @@ -23,6 +23,7 @@
import org.springframework.beans.SimpleTypeConverter;
import org.springframework.beans.TypeConverter;
import org.springframework.beans.TypeMismatchException;
+import org.springframework.lang.Nullable;
import org.springframework.util.MethodInvoker;
import org.springframework.util.ReflectionUtils;
... | 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-beans/src/main/java/org/springframework/beans/support/PropertyComparator.java | @@ -26,6 +26,7 @@
import org.springframework.beans.BeanWrapperImpl;
import org.springframework.beans.BeansException;
+import org.springframework.lang.Nullable;
import org.springframework.util.StringUtils;
/**
@@ -108,6 +109,7 @@ public int compare(T o1, T o2) {
* @param obj the object to get the property val... | 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-beans/src/main/java/org/springframework/beans/support/package-info.java | @@ -2,4 +2,7 @@
* Classes supporting the org.springframework.beans package,
* such as utility classes for sorting and holding lists of beans.
*/
+@NonNullApi
package org.springframework.beans.support;
+
+import org.springframework.lang.NonNullApi; | 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-support/src/main/java/org/springframework/cache/caffeine/CaffeineCacheManager.java | @@ -29,6 +29,7 @@
import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ObjectUtils;
@@ -88,7 +89,7 @@ public CaffeineCacheManager(String... cacheNames) {
* <p>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-support/src/main/java/org/springframework/cache/caffeine/package-info.java | @@ -3,4 +3,7 @@
* <a href="https://github.com/ben-manes/caffeine/">Caffeine</a> library,
* allowing to set up Caffeine caches within Spring's cache abstraction.
*/
+@NonNullApi
package org.springframework.cache.caffeine;
+
+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-support/src/main/java/org/springframework/cache/ehcache/package-info.java | @@ -9,4 +9,7 @@
* Instead, consider using it through JCache (JSR-107), with
* Spring's support in {@code org.springframework.cache.jcache}.
*/
+@NonNullApi
package org.springframework.cache.ehcache;
+
+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-support/src/main/java/org/springframework/cache/jcache/JCacheManagerFactoryBean.java | @@ -25,6 +25,7 @@
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.InitializingBean;
+import org.springframework.lang.Nullable;
/**
* {@link FactoryBean} for a JCache {@link javax.cache.CacheManager},
@@ -54,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-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractCacheInterceptor.java | @@ -28,6 +28,7 @@
import org.springframework.cache.interceptor.CacheErrorHandler;
import org.springframework.cache.interceptor.CacheOperationInvocationContext;
import org.springframework.cache.interceptor.CacheOperationInvoker;
+import org.springframework.lang.Nullable;
import org.springframework.util.CollectionUti... | 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-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractFallbackJCacheOperationSource.java | @@ -26,6 +26,7 @@
import org.springframework.core.BridgeMethodResolver;
import org.springframework.core.MethodClassKey;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
/**
@@ -77,6 +78,7 @@ public JCacheOperation<?> getCacheOperation(Method method, Class<?> targetClass)
... | 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-support/src/main/java/org/springframework/cache/jcache/interceptor/AnnotationJCacheOperationSource.java | @@ -31,6 +31,7 @@
import org.springframework.cache.interceptor.CacheResolver;
import org.springframework.cache.interceptor.KeyGenerator;
+import org.springframework.lang.Nullable;
import org.springframework.util.StringUtils;
/**
@@ -157,6 +158,7 @@ protected CacheResolver getExceptionCacheResolver(CacheResolver... | 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-support/src/main/java/org/springframework/cache/jcache/interceptor/CacheResultInterceptor.java | @@ -23,6 +23,7 @@
import org.springframework.cache.interceptor.CacheOperationInvocationContext;
import org.springframework.cache.interceptor.CacheOperationInvoker;
import org.springframework.cache.interceptor.CacheResolver;
+import org.springframework.lang.Nullable;
import org.springframework.util.ExceptionTypeFilt... | 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-support/src/main/java/org/springframework/cache/jcache/interceptor/CacheResultOperation.java | @@ -21,6 +21,7 @@
import org.springframework.cache.interceptor.CacheResolver;
import org.springframework.cache.interceptor.KeyGenerator;
+import org.springframework.lang.Nullable;
import org.springframework.util.ExceptionTypeFilter;
import org.springframework.util.StringUtils;
@@ -78,6 +79,7 @@ public CacheReso... | 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-support/src/main/java/org/springframework/cache/jcache/interceptor/DefaultJCacheOperationSource.java | @@ -32,6 +32,7 @@
import org.springframework.cache.interceptor.KeyGenerator;
import org.springframework.cache.interceptor.SimpleCacheResolver;
import org.springframework.cache.interceptor.SimpleKeyGenerator;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -69,6 +70,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-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheOperationSource.java | @@ -18,6 +18,8 @@
import java.lang.reflect.Method;
+import org.springframework.lang.Nullable;
+
/**
* Interface used by {@link JCacheInterceptor}. Implementations know how to source
* cache operation attributes from standard JSR-107 annotations.
@@ -37,6 +39,7 @@ public interface JCacheOperationSource {
* ... | 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-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheOperationSourcePointcut.java | @@ -20,6 +20,7 @@
import java.lang.reflect.Method;
import org.springframework.aop.support.StaticMethodMatcherPointcut;
+import org.springframework.lang.Nullable;
import org.springframework.util.ObjectUtils;
/**
@@ -43,6 +44,7 @@ public boolean matches(Method method, Class<?> targetClass) {
* Obtain the under... | 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-support/src/main/java/org/springframework/cache/jcache/package-info.java | @@ -4,4 +4,7 @@
* and {@link org.springframework.cache.Cache Cache} implementation for
* use in a Spring context, using a JSR-107 compliant cache provider.
*/
+@NonNullApi
package org.springframework.cache.jcache;
+
+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-support/src/main/java/org/springframework/cache/transaction/package-info.java | @@ -2,4 +2,7 @@
* Transaction-aware decorators for the org.springframework.cache package.
* Provides synchronization of put operations with Spring-managed transactions.
*/
+@NonNullApi
package org.springframework.cache.transaction;
+
+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-support/src/main/java/org/springframework/mail/javamail/ConfigurableMimeFileTypeMap.java | @@ -25,6 +25,7 @@
import org.springframework.beans.factory.InitializingBean;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
+import org.springframework.lang.Nullable;
/**
* Spring-configurable {@code FileTypeMap} implementation that will read
@@ -139,7 +140,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-support/src/main/java/org/springframework/mail/javamail/JavaMailSenderImpl.java | @@ -31,6 +31,7 @@
import javax.mail.Transport;
import javax.mail.internet.MimeMessage;
+import org.springframework.lang.Nullable;
import org.springframework.mail.MailAuthenticationException;
import org.springframework.mail.MailException;
import org.springframework.mail.MailParseException;
@@ -218,6 +219,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-support/src/main/java/org/springframework/mail/javamail/MimeMessageHelper.java | @@ -39,6 +39,7 @@
import org.springframework.core.io.InputStreamSource;
import org.springframework.core.io.Resource;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -361,7 +362,7 @@ protected void createMimeMultiparts(MimeMessage mimeMessage, int multipartMode)
* wil... | 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-support/src/main/java/org/springframework/mail/javamail/SmartMimeMessage.java | @@ -20,6 +20,8 @@
import javax.mail.Session;
import javax.mail.internet.MimeMessage;
+import org.springframework.lang.Nullable;
+
/**
* Special subclass of the standard JavaMail {@link MimeMessage}, carrying a
* default encoding to be used when populating the message and a default Java
@@ -48,7 +50,7 @@ class ... | 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-support/src/main/java/org/springframework/mail/javamail/package-info.java | @@ -3,4 +3,7 @@
* Provides an extended JavaMailSender interface and a MimeMessageHelper
* class for convenient population of a JavaMail MimeMessage.
*/
+@NonNullApi
package org.springframework.mail.javamail;
+
+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-support/src/main/java/org/springframework/mail/package-info.java | @@ -2,4 +2,7 @@
* Spring's generic mail infrastructure.
* Concrete implementations are provided in the subpackages.
*/
+@NonNullApi
package org.springframework.mail;
+
+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-support/src/main/java/org/springframework/scheduling/commonj/TimerManagerTaskScheduler.java | @@ -25,6 +25,7 @@
import commonj.timers.Timer;
import commonj.timers.TimerListener;
+import org.springframework.lang.Nullable;
import org.springframework.scheduling.TaskScheduler;
import org.springframework.scheduling.Trigger;
import org.springframework.scheduling.support.SimpleTriggerContext;
@@ -164,6 +165,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-support/src/main/java/org/springframework/scheduling/commonj/package-info.java | @@ -2,4 +2,7 @@
* Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager
* facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.
*/
+@NonNullApi
package org.springframework.scheduling.commonj;
+
+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-support/src/main/java/org/springframework/scheduling/quartz/ResourceLoaderClassLoadHelper.java | @@ -27,6 +27,7 @@
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
+import org.springframework.lang.Nullable;
/**
* Wrapper that adapts from the Quartz {@link ClassLoadHelper} interface
@@ -82,6 +83,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-support/src/main/java/org/springframework/scheduling/quartz/SpringBeanJobFactory.java | @@ -22,6 +22,7 @@
import org.springframework.beans.BeanWrapper;
import org.springframework.beans.MutablePropertyValues;
import org.springframework.beans.PropertyAccessorFactory;
+import org.springframework.lang.Nullable;
/**
* Subclass of {@link AdaptableJobFactory} that also supports Spring-style
@@ -55,7 +56,... | 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-support/src/main/java/org/springframework/scheduling/quartz/package-info.java | @@ -5,4 +5,7 @@
* Triggers as beans in a Spring context. Also provides
* convenience classes for implementing Quartz Jobs.
*/
+@NonNullApi
package org.springframework.scheduling.quartz;
+
+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-support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java | @@ -38,6 +38,7 @@
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import org.springframework.core.io.support.PropertiesLoaderUtils;
+import org.springframework.lang.Nullable;
import org.springframework.util.CollectionUtils;
/**
@@ -380,6 +381,7 @@ protected void po... | 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-support/src/main/java/org/springframework/ui/freemarker/package-info.java | @@ -3,4 +3,7 @@
* <a href="http://www.freemarker.org">FreeMarker</a>
* within a Spring application context.
*/
+@NonNullApi
package org.springframework.ui.freemarker;
+
+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/cache/Cache.java | @@ -18,6 +18,8 @@
import java.util.concurrent.Callable;
+import org.springframework.lang.Nullable;
+
/**
* Interface that defines common cache operations.
*
@@ -54,7 +56,8 @@ public interface Cache {
* returned means that the cache contains no mapping for this key.
* @see #get(Object, Class)
*/
- Val... | 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/cache/CacheManager.java | @@ -18,6 +18,8 @@
import java.util.Collection;
+import org.springframework.lang.Nullable;
+
/**
* Spring's central cache manager SPI.
* Allows for retrieving named {@link Cache} regions.
@@ -32,6 +34,7 @@ public interface CacheManager {
* @param name the cache identifier (must not be {@code null})
* @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/cache/annotation/AnnotationCacheOperationSource.java | @@ -26,6 +26,7 @@
import org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource;
import org.springframework.cache.interceptor.CacheOperation;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -135,6 +136,7 @@ public Collection<CacheOperation> getCacheO... | 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/cache/annotation/CacheAnnotationParser.java | @@ -20,6 +20,7 @@
import java.util.Collection;
import org.springframework.cache.interceptor.CacheOperation;
+import org.springframework.lang.Nullable;
/**
* Strategy interface for parsing known caching annotation types.
@@ -44,6 +45,7 @@ public interface CacheAnnotationParser {
* or {@code null} if none was... | 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/cache/annotation/CachingConfigurer.java | @@ -20,6 +20,7 @@
import org.springframework.cache.interceptor.CacheErrorHandler;
import org.springframework.cache.interceptor.CacheResolver;
import org.springframework.cache.interceptor.KeyGenerator;
+import org.springframework.lang.Nullable;
/**
* Interface to be implemented by @{@link org.springframework.con... | 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/cache/annotation/package-info.java | @@ -3,4 +3,7 @@
* Hooked into Spring's cache interception infrastructure via
* {@link org.springframework.cache.interceptor.CacheOperationSource}.
*/
+@NonNullApi
package org.springframework.cache.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/cache/concurrent/ConcurrentMapCache.java | @@ -25,6 +25,7 @@
import org.springframework.cache.support.AbstractValueAdaptingCache;
import org.springframework.core.serializer.support.SerializationDelegate;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -98,7 +99,7 @@ public ConcurrentMapCache(String name, Concurr... | 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/cache/concurrent/ConcurrentMapCacheManager.java | @@ -27,6 +27,7 @@
import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
import org.springframework.core.serializer.support.SerializationDelegate;
+import org.springframework.lang.Nullable;
/**
* {@link CacheManager} implementation that lazily builds {@link ConcurrentMapCache}
@@... | 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/cache/concurrent/package-info.java | @@ -4,4 +4,7 @@
* and {@link org.springframework.cache.Cache Cache} implementation for
* use in a Spring context, using a JDK based thread pool at runtime.
*/
+@NonNullApi
package org.springframework.cache.concurrent;
+
+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/cache/config/CacheAdviceParser.java | @@ -36,6 +36,7 @@
import org.springframework.cache.interceptor.CachePutOperation;
import org.springframework.cache.interceptor.CacheableOperation;
import org.springframework.cache.interceptor.NameMatchCacheOperationSource;
+import org.springframework.lang.Nullable;
import org.springframework.util.StringUtils;
impo... | 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/cache/config/package-info.java | @@ -4,4 +4,7 @@
* org.springframework.cache.annotation.EnableCaching EnableCaching}
* for details on code-based configuration without XML.
*/
+@NonNullApi
package org.springframework.cache.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/cache/interceptor/AbstractCacheInvoker.java | @@ -17,6 +17,7 @@
package org.springframework.cache.interceptor;
import org.springframework.cache.Cache;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -66,6 +67,7 @@ public CacheErrorHandler getErrorHandler() {
* miss in case of error.
* @see Cache#get(Object)
... | 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/cache/interceptor/AbstractCacheResolver.java | @@ -23,6 +23,7 @@
import org.springframework.beans.factory.InitializingBean;
import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
@@ -93,6 +94,7 @@ public Collection<? extends Cache> resolveCa... | 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/cache/interceptor/AbstractFallbackCacheOperationSource.java | @@ -28,6 +28,7 @@
import org.springframework.core.BridgeMethodResolver;
import org.springframework.core.MethodClassKey;
+import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
/**
@@ -116,10 +117,11 @@ public Collection<CacheOperation> getCacheOperations(Method method, Class<?> ta... | 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/cache/interceptor/CacheAspectSupport.java | @@ -42,6 +42,7 @@
import org.springframework.cache.CacheManager;
import org.springframework.context.expression.AnnotatedElementKey;
import org.springframework.expression.EvaluationContext;
+import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;... | 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/cache/interceptor/CacheOperationExpressionEvaluator.java | @@ -29,6 +29,7 @@
import org.springframework.context.expression.CachedExpressionEvaluator;
import org.springframework.expression.EvaluationContext;
import org.springframework.expression.Expression;
+import org.springframework.lang.Nullable;
/**
* Utility class handling the SpEL expression parsing.
@@ -93,7 +94,... | 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/cache/interceptor/CacheOperationSource.java | @@ -19,6 +19,8 @@
import java.lang.reflect.Method;
import java.util.Collection;
+import org.springframework.lang.Nullable;
+
/**
* Interface used by {@link CacheInterceptor}. Implementations know how to source
* cache operation attributes, whether from configuration, metadata attributes at
@@ -37,6 +39,7 @@ pu... | 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/cache/interceptor/CacheOperationSourcePointcut.java | @@ -20,6 +20,7 @@
import java.lang.reflect.Method;
import org.springframework.aop.support.StaticMethodMatcherPointcut;
+import org.springframework.lang.Nullable;
import org.springframework.util.CollectionUtils;
import org.springframework.util.ObjectUtils;
@@ -66,6 +67,7 @@ public String toString() {
* Obtain... | 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/cache/interceptor/package-info.java | @@ -3,4 +3,7 @@
* Builds on the AOP infrastructure in org.springframework.aop.framework.
* Any POJO can be cache-advised with Spring.
*/
+@NonNullApi
package org.springframework.cache.interceptor;
+
+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/cache/package-info.java | @@ -2,4 +2,7 @@
* Spring's generic cache abstraction.
* Concrete implementations are provided in the subpackages.
*/
+@NonNullApi
package org.springframework.cache;
+
+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/cache/support/AbstractCacheManager.java | @@ -26,6 +26,7 @@
import org.springframework.beans.factory.InitializingBean;
import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
+import org.springframework.lang.Nullable;
/**
* Abstract base class implementing the common {@link CacheManager} methods.
@@ -124,6 +125,7 @@ publi... | 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/cache/support/AbstractValueAdaptingCache.java | @@ -17,6 +17,7 @@
package org.springframework.cache.support;
import org.springframework.cache.Cache;
+import org.springframework.lang.Nullable;
/**
* Common base class for {@link Cache} implementations that need to adapt
@@ -81,7 +82,8 @@ public <T> T get(Object key, Class<T> type) {
* @param storeValue the... | 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/cache/support/SimpleValueWrapper.java | @@ -17,6 +17,7 @@
package org.springframework.cache.support;
import org.springframework.cache.Cache.ValueWrapper;
+import org.springframework.lang.Nullable;
/**
* Straightforward implementation of {@link org.springframework.cache.Cache.ValueWrapper},
@@ -34,7 +35,7 @@ public class SimpleValueWrapper implements... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.