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
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
spring-core/src/test/java/org/springframework/tests/TestGroupTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 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. @@ -14,7 +14,7 @@ * limitations under the Lic...
true
Other
spring-projects
spring-framework
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
spring-core/src/test/java/org/springframework/tests/package-info.java
@@ -0,0 +1,22 @@ +/* + * Copyright 2002-2013 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
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
spring-core/src/test/java/org/springframework/util/xml/AbstractStaxXMLReaderTestCase.java
@@ -31,10 +31,10 @@ import org.junit.Test; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; -import org.springframework.build.test.mockito.MockitoUtils; -import org.springframework.build.test.mockito.MockitoUtils.InvocationArgumentsAdapter; import org.springframework.core.io.Class...
true
Other
spring-projects
spring-framework
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
spring-expression/src/test/java/org/springframework/expression/spel/PerformanceTests.java
@@ -20,8 +20,8 @@ import org.junit.Test; -import org.springframework.build.junit.Assume; -import org.springframework.build.junit.TestGroup; +import org.springframework.tests.Assume; +import org.springframework.tests.TestGroup; import org.springframework.expression.EvaluationContext; import org.springframework.ex...
true
Other
spring-projects
spring-framework
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
spring-jdbc/src/test/java/org/springframework/jdbc/core/JdbcTemplateTests.java
@@ -34,7 +34,7 @@ import static org.mockito.Mockito.reset; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; -import static org.springframework.build.test.hamcrest.Matchers.exceptionCause; +import static org.springframework.tests.Matchers.exceptionCause; import java.sql.CallableSt...
true
Other
spring-projects
spring-framework
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcCallTests.java
@@ -22,7 +22,7 @@ import static org.mockito.Mockito.atLeastOnce; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -import static org.springframework.build.test.hamcrest.Matchers.exceptionCause; +import static org.springframework.tests.Matchers.exceptionCause; import java.sql.Calla...
true
Other
spring-projects
spring-framework
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
spring-web/src/test/java/org/springframework/web/bind/ServletRequestUtilsTests.java
@@ -19,9 +19,9 @@ import static org.junit.Assert.*; import org.junit.Test; -import org.springframework.build.junit.Assume; -import org.springframework.build.junit.TestGroup; import org.springframework.mock.web.test.MockHttpServletRequest; +import org.springframework.tests.Assume; +import org.springframework.tests....
true
Other
spring-projects
spring-framework
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
spring-webmvc-portlet/src/test/java/org/springframework/web/portlet/bind/PortletRequestUtilsTests.java
@@ -19,8 +19,8 @@ import junit.framework.TestCase; import org.junit.Test; -import org.springframework.build.junit.Assume; -import org.springframework.build.junit.TestGroup; +import org.springframework.tests.Assume; +import org.springframework.tests.TestGroup; import org.springframework.mock.web.portlet.MockPortlet...
true
Other
spring-projects
spring-framework
65fb26f847a2249792fa8024c04980fc7a49cd5c.json
Move spring-build-junit into spring-core Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbdec720d3f5b1c7f065dfe8ccb7a7f3b201.
src/test/java/org/springframework/scheduling/annotation/ScheduledAndTransactionalAnnotationIntegrationTests.java
@@ -23,14 +23,14 @@ import org.springframework.aop.support.AopUtils; import org.springframework.beans.factory.BeanCreationException; -import org.springframework.build.junit.Assume; -import org.springframework.build.junit.TestGroup; import org.springframework.context.annotation.AnnotationConfigApplicationContext; ...
true
Other
spring-projects
spring-framework
db2b00a2a5c05d398b3d08071163e8fbeea25baf.json
Relocate MergePlugin package Relocate the MergePlugin from org.springframework.build.gradle.merge to org.springframework.build.gradle.
buildSrc/src/main/groovy/org/springframework/build/gradle/MergePlugin.groovy
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.build.gradle.merge +package org.springframework.build.gradle import org.gradle.api.* import org.gradle.api.artifacts.Configuration
true
Other
spring-projects
spring-framework
db2b00a2a5c05d398b3d08071163e8fbeea25baf.json
Relocate MergePlugin package Relocate the MergePlugin from org.springframework.build.gradle.merge to org.springframework.build.gradle.
buildSrc/src/main/resources/META-INF/gradle-plugins/merge.properties
@@ -1 +1 @@ -implementation-class=org.springframework.build.gradle.merge.MergePlugin +implementation-class=org.springframework.build.gradle.MergePlugin
true
Other
spring-projects
spring-framework
290aa5d64730e485fc9930e9a2509d14b05fad67.json
Develop a gradle plugin to add test dependencies Develop a gradle plugin to automatically update testCompile dependencies to include the test source sets of project dependencies. Allows the gradle build to more closely mirror the way that tests run inside eclipse.
build.gradle
@@ -28,6 +28,7 @@ configure(allprojects) { apply plugin: "java" apply plugin: "propdeps-eclipse" apply plugin: "propdeps-idea" + apply plugin: "test-source-set-dependencies" apply from: "${gradleScriptDir}/ide.gradle" group = "org.springframework"
true
Other
spring-projects
spring-framework
290aa5d64730e485fc9930e9a2509d14b05fad67.json
Develop a gradle plugin to add test dependencies Develop a gradle plugin to automatically update testCompile dependencies to include the test source sets of project dependencies. Allows the gradle build to more closely mirror the way that tests run inside eclipse.
buildSrc/src/main/groovy/org/springframework/build/gradle/TestSourceSetDependenciesPlugin.groovy
@@ -0,0 +1,51 @@ +/* + * Copyright 2002-2012 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
290aa5d64730e485fc9930e9a2509d14b05fad67.json
Develop a gradle plugin to add test dependencies Develop a gradle plugin to automatically update testCompile dependencies to include the test source sets of project dependencies. Allows the gradle build to more closely mirror the way that tests run inside eclipse.
buildSrc/src/main/resources/META-INF/gradle-plugins/test-source-set-dependencies.properties
@@ -0,0 +1 @@ +implementation-class=org.springframework.build.gradle.TestSourceSetDependenciesPlugin
true
Other
spring-projects
spring-framework
57d68b070e2bd060befefe0ecc1a6aad9c581acd.json
Expose Gradle buildSrc for IDE support Create 'spring-build-src' Gradle module that exposes the buildSrc folder as an IDE project.
build.gradle
@@ -171,6 +171,18 @@ configure(allprojects - project(":spring-build-junit")) { test.systemProperties.put("testGroups", properties.get("testGroups")) } +project("spring-build-src") { + description = "Exposes gradle buildSrc for IDE support" + apply plugin: "groovy" + + dependencies { + compile gradleApi() + groov...
true
Other
spring-projects
spring-framework
57d68b070e2bd060befefe0ecc1a6aad9c581acd.json
Expose Gradle buildSrc for IDE support Create 'spring-build-src' Gradle module that exposes the buildSrc folder as an IDE project.
settings.gradle
@@ -23,3 +23,7 @@ include "spring-webmvc" include "spring-webmvc-portlet" include "spring-webmvc-tiles3" include "spring-build-junit" + +// Exposes gradle buildSrc for IDE support +include "buildSrc" +rootProject.children.find{ it.name == "buildSrc" }.name = "spring-build-src"
true
Other
spring-projects
spring-framework
7a19fd575045333b970e645f6db8a15302484038.json
Fix regression in static setter method support The intention of ExtendedBeanInfo, introduced with SPR-8079 in v3.1.0.M2, was to support dependency injection against non-void returning write methods. However, it also inadvertently introduced support for injection against static setter methods. When use of ExtendedBean...
spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java
@@ -41,8 +41,8 @@ /** * Decorator for a standard {@link BeanInfo} object, e.g. as created by - * {@link Introspector#getBeanInfo(Class)}, designed to discover and register non-void - * returning setter methods. For example: + * {@link Introspector#getBeanInfo(Class)}, designed to discover and register static + * a...
true
Other
spring-projects
spring-framework
7a19fd575045333b970e645f6db8a15302484038.json
Fix regression in static setter method support The intention of ExtendedBeanInfo, introduced with SPR-8079 in v3.1.0.M2, was to support dependency injection against non-void returning write methods. However, it also inadvertently introduced support for injection against static setter methods. When use of ExtendedBean...
spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfoFactory.java
@@ -51,7 +51,7 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { */ private boolean supports(Class<?> beanClass) { for (Method method : beanClass.getMethods()) { - if (ExtendedBeanInfo.isNonVoidWriteMethod(method)) { + if (ExtendedBeanInfo.isCandidateWriteMethod(method)) { ...
true
Other
spring-projects
spring-framework
7a19fd575045333b970e645f6db8a15302484038.json
Fix regression in static setter method support The intention of ExtendedBeanInfo, introduced with SPR-8079 in v3.1.0.M2, was to support dependency injection against non-void returning write methods. However, it also inadvertently introduced support for injection against static setter methods. When use of ExtendedBean...
spring-beans/src/test/java/org/springframework/beans/BeanWrapperTests.java
@@ -1550,6 +1550,24 @@ public void testWildcardedGenericEnum() { assertEquals(TestEnum.TEST_VALUE, consumer.getEnumValue()); } + @Test + public void cornerSpr10115() { + Spr10115Bean foo = new Spr10115Bean(); + BeanWrapperImpl bwi = new BeanWrapperImpl(); + bwi.setWrappedInstance(foo); + bwi.setPropertyValue...
true
Other
spring-projects
spring-framework
7a19fd575045333b970e645f6db8a15302484038.json
Fix regression in static setter method support The intention of ExtendedBeanInfo, introduced with SPR-8079 in v3.1.0.M2, was to support dependency injection against non-void returning write methods. However, it also inadvertently introduced support for injection against static setter methods. When use of ExtendedBean...
spring-beans/src/test/java/org/springframework/beans/ExtendedBeanInfoTests.java
@@ -946,4 +946,28 @@ public void setAddress(int index, String addr) { } assertThat(hasIndexedWriteMethodForProperty(bi, "address"), is(true)); } } + + @Test + public void shouldSupportStaticWriteMethod() throws IntrospectionException { + { + BeanInfo bi = Introspector.getBeanInfo(WithStaticWriteMethod.class...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/TargetSource.java
@@ -39,6 +39,7 @@ public interface TargetSource extends TargetClassAware { * target class. * @return the type of targets returned by this {@link TargetSource} */ + @Override Class<?> getTargetClass(); /**
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/TrueClassFilter.java
@@ -34,6 +34,7 @@ class TrueClassFilter implements ClassFilter, Serializable { private TrueClassFilter() { } + @Override public boolean matches(Class clazz) { return true; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/TrueMethodMatcher.java
@@ -35,14 +35,17 @@ class TrueMethodMatcher implements MethodMatcher, Serializable { private TrueMethodMatcher() { } + @Override public boolean isRuntime() { return false; } + @Override public boolean matches(Method method, Class targetClass) { return true; } + @Override public boolean matches...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/TruePointcut.java
@@ -34,10 +34,12 @@ class TruePointcut implements Pointcut, Serializable { private TruePointcut() { } + @Override public ClassFilter getClassFilter() { return ClassFilter.TRUE; } + @Override public MethodMatcher getMethodMatcher() { return MethodMatcher.TRUE; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AbstractAspectJAdvice.java
@@ -203,6 +203,7 @@ public final ClassLoader getAspectClassLoader() { return this.aspectInstanceFactory.getAspectClassLoader(); } + @Override public int getOrder() { return this.aspectInstanceFactory.getOrder(); } @@ -212,6 +213,7 @@ public void setAspectName(String name) { this.aspectName = name; } ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscoverer.java
@@ -222,6 +222,7 @@ public void setThrowingName(String throwingName) { * @param method the target {@link Method} * @return the parameter names */ + @Override public String[] getParameterNames(Method method) { this.argumentTypes = method.getParameterTypes(); this.numberOfRemainingUnboundArguments = this...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJAfterAdvice.java
@@ -37,6 +37,7 @@ public AspectJAfterAdvice( super(aspectJBeforeAdviceMethod, pointcut, aif); } + @Override public Object invoke(MethodInvocation mi) throws Throwable { try { return mi.proceed(); @@ -46,10 +47,12 @@ public Object invoke(MethodInvocation mi) throws Throwable { } } + @Override pu...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJAfterReturningAdvice.java
@@ -40,10 +40,12 @@ public AspectJAfterReturningAdvice( super(aspectJBeforeAdviceMethod, pointcut, aif); } + @Override public boolean isBeforeAdvice() { return false; } + @Override public boolean isAfterAdvice() { return true; } @@ -53,6 +55,7 @@ public void setReturningName(String name) { set...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJAfterThrowingAdvice.java
@@ -37,10 +37,12 @@ public AspectJAfterThrowingAdvice( super(aspectJBeforeAdviceMethod, pointcut, aif); } + @Override public boolean isBeforeAdvice() { return false; } + @Override public boolean isAfterAdvice() { return true; } @@ -50,6 +52,7 @@ public void setThrowingName(String name) { setTh...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJAroundAdvice.java
@@ -41,10 +41,12 @@ public AspectJAroundAdvice( super(aspectJAroundAdviceMethod, pointcut, aif); } + @Override public boolean isBeforeAdvice() { return false; } + @Override public boolean isAfterAdvice() { return false; } @@ -55,6 +57,7 @@ protected boolean supportsProceedingJoinPoint() { } ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJExpressionPointcut.java
@@ -155,16 +155,19 @@ public void setParameterTypes(Class[] types) { this.pointcutParameterTypes = types; } + @Override public void setBeanFactory(BeanFactory beanFactory) { this.beanFactory = beanFactory; } + @Override public ClassFilter getClassFilter() { checkReadyToMatch(); return this; ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJExpressionPointcutAdvisor.java
@@ -31,6 +31,7 @@ public class AspectJExpressionPointcutAdvisor extends AbstractGenericPointcutAdv private final AspectJExpressionPointcut pointcut = new AspectJExpressionPointcut(); + @Override public Pointcut getPointcut() { return this.pointcut; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJMethodBeforeAdvice.java
@@ -35,14 +35,17 @@ public AspectJMethodBeforeAdvice( super(aspectJBeforeAdviceMethod, pointcut, aif); } + @Override public void before(Method method, Object[] args, Object target) throws Throwable { invokeAdviceMethod(getJoinPointMatch(), null, null); } + @Override public boolean isBeforeAdvice() { ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJPointcutAdvisor.java
@@ -56,18 +56,22 @@ public void setOrder(int order) { } + @Override public boolean isPerInstance() { return true; } + @Override public Advice getAdvice() { return this.advice; } + @Override public Pointcut getPointcut() { return this.pointcut; } + @Override public int getOrder() { ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJWeaverMessageHandler.java
@@ -48,6 +48,7 @@ public class AspectJWeaverMessageHandler implements IMessageHandler { private static final Log LOGGER = LogFactory.getLog("AspectJ Weaver"); + @Override public boolean handleMessage(IMessage message) throws AbortException { Kind messageKind = message.getKind(); @@ -93,15 +94,18 @@ private...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/DeclareParentsAdvisor.java
@@ -77,6 +77,7 @@ private DeclareParentsAdvisor(Class interfaceType, String typePattern, Class imp // Excludes methods implemented. ClassFilter exclusion = new ClassFilter() { + @Override public boolean matches(Class clazz) { return !(introducedInterface.isAssignableFrom(clazz)); } @@ -87,22 +88,...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/MethodInvocationProceedingJoinPoint.java
@@ -72,14 +72,17 @@ public MethodInvocationProceedingJoinPoint(ProxyMethodInvocation methodInvocatio this.methodInvocation = methodInvocation; } + @Override public void set$AroundClosure(AroundClosure aroundClosure) { throw new UnsupportedOperationException(); } + @Override public Object proceed() thr...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/RuntimeTestWalker.java
@@ -106,35 +106,44 @@ private static class TestVisitorAdapter implements ITestVisitor { protected static final int AT_TARGET_VAR = 4; protected static final int AT_ANNOTATION_VAR = 8; + @Override public void visit(And e) { e.getLeft().accept(this); e.getRight().accept(this); } + @Override p...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/SimpleAspectInstanceFactory.java
@@ -49,6 +49,7 @@ public final Class getAspectClass() { } + @Override public final Object getAspectInstance() { try { return this.aspectClass.newInstance(); @@ -61,6 +62,7 @@ public final Object getAspectInstance() { } } + @Override public ClassLoader getAspectClassLoader() { return this.aspe...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/SingletonAspectInstanceFactory.java
@@ -44,10 +44,12 @@ public SingletonAspectInstanceFactory(Object aspectInstance) { } + @Override public final Object getAspectInstance() { return this.aspectInstance; } + @Override public ClassLoader getAspectClassLoader() { return this.aspectInstance.getClass().getClassLoader(); } @@ -60,6 +62,7 ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/TypePatternClassFilter.java
@@ -93,6 +93,7 @@ public String getTypePattern() { * @return whether the advice should apply to this candidate target class * @throws IllegalStateException if no {@link #setTypePattern(String)} has been set */ + @Override public boolean matches(Class clazz) { if (this.aspectJTypePatternMatcher == null) { ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactory.java
@@ -111,6 +111,7 @@ protected AbstractAspectJAdvisorFactory() { * is that aspects written in the code-style (AspectJ language) also have the annotation present * when compiled by ajc with the -1.5 flag, yet they cannot be consumed by Spring AOP. */ + @Override public boolean isAspect(Class<?> clazz) { ret...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/BeanFactoryAspectInstanceFactory.java
@@ -72,10 +72,12 @@ public BeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name, Cl } + @Override public Object getAspectInstance() { return this.beanFactory.getBean(this.name); } + @Override public ClassLoader getAspectClassLoader() { if (this.beanFactory instanceof ConfigurableBea...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/InstantiationModelAwarePointcutAdvisorImpl.java
@@ -97,6 +97,7 @@ public InstantiationModelAwarePointcutAdvisorImpl(AspectJAdvisorFactory af, Asp * The pointcut for Spring AOP to use. Actual behaviour of the pointcut will change * depending on the state of the advice. */ + @Override public Pointcut getPointcut() { return this.pointcut; } @@ -106,6 +...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/LazySingletonAspectInstanceFactoryDecorator.java
@@ -42,6 +42,7 @@ public LazySingletonAspectInstanceFactoryDecorator(MetadataAwareAspectInstanceFa } + @Override public synchronized Object getAspectInstance() { if (this.materialized == null) { synchronized (this) { @@ -57,14 +58,17 @@ public boolean isMaterialized() { return (this.materialized != nu...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/ReflectiveAspectJAdvisorFactory.java
@@ -75,13 +75,15 @@ public class ReflectiveAspectJAdvisorFactory extends AbstractAspectJAdvisorFacto new InstanceComparator<Annotation>( Around.class, Before.class, After.class, AfterReturning.class, AfterThrowing.class), new Converter<Method, Annotation>() { + @Override public Annotation con...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/SimpleMetadataAwareAspectInstanceFactory.java
@@ -45,6 +45,7 @@ public SimpleMetadataAwareAspectInstanceFactory(Class aspectClass, String aspect } + @Override public final AspectMetadata getAspectMetadata() { return this.metadata; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/SingletonMetadataAwareAspectInstanceFactory.java
@@ -47,6 +47,7 @@ public SingletonMetadataAwareAspectInstanceFactory(Object aspectInstance, String } + @Override public final AspectMetadata getAspectMetadata() { return this.metadata; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/autoproxy/AspectJAwareAdvisorAutoProxyCreator.java
@@ -131,11 +131,13 @@ public PartiallyComparableAdvisorHolder(Advisor advisor, Comparator<Advisor> com this.comparator = comparator; } + @Override public int compareTo(Object obj) { Advisor otherAdvisor = ((PartiallyComparableAdvisorHolder) obj).advisor; return this.comparator.compare(this.advisor,...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/aspectj/autoproxy/AspectJPrecedenceComparator.java
@@ -76,6 +76,7 @@ public AspectJPrecedenceComparator(Comparator<? super Advisor> advisorComparator } + @Override public int compare(Object o1, Object o2) { if (!(o1 instanceof Advisor && o2 instanceof Advisor)) { throw new IllegalArgumentException(
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/AbstractInterceptorDrivenBeanDefinitionDecorator.java
@@ -58,6 +58,7 @@ */ public abstract class AbstractInterceptorDrivenBeanDefinitionDecorator implements BeanDefinitionDecorator { + @Override public final BeanDefinitionHolder decorate(Node node, BeanDefinitionHolder definitionHolder, ParserContext parserContext) { BeanDefinitionRegistry registry = parserConte...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/AdvisorComponentDefinition.java
@@ -91,6 +91,7 @@ private String buildDescription(BeanReference adviceReference, BeanReference poi } + @Override public String getName() { return this.advisorBeanName; } @@ -110,6 +111,7 @@ public BeanReference[] getBeanReferences() { return this.beanReferences; } + @Override public Object getSour...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/AopNamespaceHandler.java
@@ -59,6 +59,7 @@ public class AopNamespaceHandler extends NamespaceHandlerSupport { * '{@code config}', '{@code spring-configured}', '{@code aspectj-autoproxy}' * and '{@code scoped-proxy}' tags. */ + @Override public void init() { // In 2.0 XSD as well as in 2.1 XSD. registerBeanDefinitionParser("con...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/AspectJAutoProxyBeanDefinitionParser.java
@@ -37,6 +37,7 @@ */ class AspectJAutoProxyBeanDefinitionParser implements BeanDefinitionParser { + @Override public BeanDefinition parse(Element element, ParserContext parserContext) { AopNamespaceUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(parserContext, element); extendBeanDefinition(elem...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/ConfigBeanDefinitionParser.java
@@ -95,6 +95,7 @@ class ConfigBeanDefinitionParser implements BeanDefinitionParser { private ParseState parseState = new ParseState(); + @Override public BeanDefinition parse(Element element, ParserContext parserContext) { CompositeComponentDefinition compositeDef = new CompositeComponentDefinition(elem...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/MethodLocatingFactoryBean.java
@@ -57,6 +57,7 @@ public void setMethodName(String methodName) { this.methodName = methodName; } + @Override public void setBeanFactory(BeanFactory beanFactory) { if (!StringUtils.hasText(this.targetBeanName)) { throw new IllegalArgumentException("Property 'targetBeanName' is required"); @@ -78,14 +79,1...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/PointcutComponentDefinition.java
@@ -46,6 +46,7 @@ public PointcutComponentDefinition(String pointcutBeanName, BeanDefinition point } + @Override public String getName() { return this.pointcutBeanName; } @@ -60,6 +61,7 @@ public BeanDefinition[] getBeanDefinitions() { return new BeanDefinition[] {this.pointcutDefinition}; } + @Over...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/ScopedProxyBeanDefinitionDecorator.java
@@ -39,6 +39,7 @@ class ScopedProxyBeanDefinitionDecorator implements BeanDefinitionDecorator { private static final String PROXY_TARGET_CLASS = "proxy-target-class"; + @Override public BeanDefinitionHolder decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext) { boolean proxyTarge...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/SimpleBeanFactoryAwareAspectInstanceFactory.java
@@ -47,6 +47,7 @@ public void setAspectBeanName(String aspectBeanName) { this.aspectBeanName = aspectBeanName; } + @Override public void setBeanFactory(BeanFactory beanFactory) { this.beanFactory = beanFactory; if (!StringUtils.hasText(this.aspectBeanName)) { @@ -59,10 +60,12 @@ public void setBeanFactor...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/config/SpringConfiguredBeanDefinitionParser.java
@@ -50,6 +50,7 @@ class SpringConfiguredBeanDefinitionParser implements BeanDefinitionParser { "org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect"; + @Override public BeanDefinition parse(Element element, ParserContext parserContext) { if (!parserContext.getRegistry().containsBeanDef...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor.java
@@ -50,6 +50,7 @@ public abstract class AbstractAdvisingBeanPostProcessor extends ProxyConfig private final Map<String, Boolean> eligibleBeans = new ConcurrentHashMap<String, Boolean>(64); + @Override public void setBeanClassLoader(ClassLoader beanClassLoader) { this.beanClassLoader = beanClassLoader; } @@...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.java
@@ -122,13 +122,15 @@ public void setProxyClassLoader(ClassLoader classLoader) { this.proxyClassLoader = classLoader; } + @Override public void setBeanClassLoader(ClassLoader classLoader) { if (this.proxyClassLoader == null) { this.proxyClassLoader = classLoader; } } + @Override public void a...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java
@@ -137,10 +137,12 @@ public void setTarget(Object target) { setTargetSource(new SingletonTargetSource(target)); } + @Override public void setTargetSource(TargetSource targetSource) { this.targetSource = (targetSource != null ? targetSource : EMPTY_TARGET_SOURCE); } + @Override public TargetSource get...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/CglibAopProxy.java
@@ -146,10 +146,12 @@ public void setConstructorArguments(Object[] constructorArgs, Class<?>[] constru } + @Override public Object getProxy() { return getProxy(null); } + @Override public Object getProxy(ClassLoader classLoader) { if (logger.isDebugEnabled()) { logger.debug("Creating CGLIB proxy...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/DefaultAdvisorChainFactory.java
@@ -46,6 +46,7 @@ @SuppressWarnings("serial") public class DefaultAdvisorChainFactory implements AdvisorChainFactory, Serializable { + @Override public List<Object> getInterceptorsAndDynamicInterceptionAdvice( Advised config, Method method, Class targetClass) {
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java
@@ -49,6 +49,7 @@ public class DefaultAopProxyFactory implements AopProxyFactory, Serializable { + @Override public AopProxy createAopProxy(AdvisedSupport config) throws AopConfigException { if (config.isOptimize() || config.isProxyTargetClass() || hasNoUserSuppliedProxyInterfaces(config)) { Class targetC...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/JdkDynamicAopProxy.java
@@ -106,10 +106,12 @@ public JdkDynamicAopProxy(AdvisedSupport config) throws AopConfigException { } + @Override public Object getProxy() { return getProxy(ClassUtils.getDefaultClassLoader()); } + @Override public Object getProxy(ClassLoader classLoader) { if (logger.isDebugEnabled()) { logger.d...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/ProxyFactoryBean.java
@@ -218,12 +218,14 @@ public void setProxyClassLoader(ClassLoader classLoader) { this.classLoaderConfigured = (classLoader != null); } + @Override public void setBeanClassLoader(ClassLoader classLoader) { if (!this.classLoaderConfigured) { this.proxyClassLoader = classLoader; } } + @Override pu...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/ReflectiveMethodInvocation.java
@@ -114,14 +114,17 @@ protected ReflectiveMethodInvocation( } + @Override public final Object getProxy() { return this.proxy; } + @Override public final Object getThis() { return this.target; } + @Override public final AccessibleObject getStaticPart() { return this.method; } @@ -131,19 +1...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/adapter/AdvisorAdapterRegistrationManager.java
@@ -48,10 +48,12 @@ public void setAdvisorAdapterRegistry(AdvisorAdapterRegistry advisorAdapterRegis } + @Override public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException { return bean; } + @Override public Object postProcessAfterInitialization(Object bean, Str...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/adapter/AfterReturningAdviceAdapter.java
@@ -34,10 +34,12 @@ @SuppressWarnings("serial") class AfterReturningAdviceAdapter implements AdvisorAdapter, Serializable { + @Override public boolean supportsAdvice(Advice advice) { return (advice instanceof AfterReturningAdvice); } + @Override public MethodInterceptor getInterceptor(Advisor advisor) { ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/adapter/AfterReturningAdviceInterceptor.java
@@ -47,6 +47,7 @@ public AfterReturningAdviceInterceptor(AfterReturningAdvice advice) { this.advice = advice; } + @Override public Object invoke(MethodInvocation mi) throws Throwable { Object retVal = mi.proceed(); this.advice.afterReturning(retVal, mi.getMethod(), mi.getArguments(), mi.getThis());
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/adapter/DefaultAdvisorAdapterRegistry.java
@@ -53,6 +53,7 @@ public DefaultAdvisorAdapterRegistry() { } + @Override public Advisor wrap(Object adviceObject) throws UnknownAdviceTypeException { if (adviceObject instanceof Advisor) { return (Advisor) adviceObject; @@ -74,6 +75,7 @@ public Advisor wrap(Object adviceObject) throws UnknownAdviceTypeEx...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/adapter/MethodBeforeAdviceAdapter.java
@@ -34,10 +34,12 @@ @SuppressWarnings("serial") class MethodBeforeAdviceAdapter implements AdvisorAdapter, Serializable { + @Override public boolean supportsAdvice(Advice advice) { return (advice instanceof MethodBeforeAdvice); } + @Override public MethodInterceptor getInterceptor(Advisor advisor) { M...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/adapter/MethodBeforeAdviceInterceptor.java
@@ -46,6 +46,7 @@ public MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice) { this.advice = advice; } + @Override public Object invoke(MethodInvocation mi) throws Throwable { this.advice.before(mi.getMethod(), mi.getArguments(), mi.getThis() ); return mi.proceed();
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/adapter/ThrowsAdviceAdapter.java
@@ -34,10 +34,12 @@ @SuppressWarnings("serial") class ThrowsAdviceAdapter implements AdvisorAdapter, Serializable { + @Override public boolean supportsAdvice(Advice advice) { return (advice instanceof ThrowsAdvice); } + @Override public MethodInterceptor getInterceptor(Advisor advisor) { return new Th...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/adapter/ThrowsAdviceInterceptor.java
@@ -119,6 +119,7 @@ private Method getExceptionHandler(Throwable exception) { return handler; } + @Override public Object invoke(MethodInvocation mi) throws Throwable { try { return mi.proceed();
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java
@@ -155,6 +155,7 @@ public final void setOrder(int order) { this.order = order; } + @Override public final int getOrder() { return this.order; } @@ -232,12 +233,14 @@ public void setProxyClassLoader(ClassLoader classLoader) { this.classLoaderConfigured = (classLoader != null); } + @Override pub...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/DefaultAdvisorAutoProxyCreator.java
@@ -79,6 +79,7 @@ public String getAdvisorBeanNamePrefix() { return this.advisorBeanNamePrefix; } + @Override public void setBeanName(String name) { // If no infrastructure bean name prefix has been set, override it. if (this.advisorBeanNamePrefix == null) {
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/target/AbstractBeanFactoryBasedTargetSourceCreator.java
@@ -66,6 +66,7 @@ new HashMap<String, DefaultListableBeanFactory>(); + @Override public final void setBeanFactory(BeanFactory beanFactory) { if (!(beanFactory instanceof ConfigurableBeanFactory)) { throw new IllegalStateException("Cannot do auto-TargetSource creation with a BeanFactory " + @@ -86,6 +87...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/interceptor/AbstractTraceInterceptor.java
@@ -105,6 +105,7 @@ public void setHideProxyClassNames(boolean hideProxyClassNames) { * to the {@code invokeUnderTrace} method for handling. * @see #invokeUnderTrace(org.aopalliance.intercept.MethodInvocation, org.apache.commons.logging.Log) */ + @Override public Object invoke(MethodInvocation invocation) th...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/interceptor/AsyncExecutionAspectSupport.java
@@ -80,6 +80,7 @@ public void setExecutor(Executor defaultExecutor) { /** * Set the {@link BeanFactory} to be used when looking up executors by qualifier. */ + @Override public void setBeanFactory(BeanFactory beanFactory) throws BeansException { this.beanFactory = beanFactory; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/interceptor/AsyncExecutionInterceptor.java
@@ -75,9 +75,11 @@ public AsyncExecutionInterceptor(Executor executor) { * @return {@link Future} if the original method returns {@code Future}; {@code null} * otherwise. */ + @Override public Object invoke(final MethodInvocation invocation) throws Throwable { Future<?> result = this.determineAsyncExecuto...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/interceptor/ConcurrencyThrottleInterceptor.java
@@ -47,6 +47,7 @@ public ConcurrencyThrottleInterceptor() { setConcurrencyLimit(1); } + @Override public Object invoke(MethodInvocation methodInvocation) throws Throwable { beforeAccess(); try {
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/interceptor/ExposeBeanNameAdvisors.java
@@ -109,6 +109,7 @@ public ExposeBeanNameInterceptor(String beanName) { this.beanName = beanName; } + @Override public Object invoke(MethodInvocation mi) throws Throwable { if (!(mi instanceof ProxyMethodInvocation)) { throw new IllegalStateException("MethodInvocation is not a Spring ProxyMethodIn...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/interceptor/ExposeInvocationInterceptor.java
@@ -84,6 +84,7 @@ public static MethodInvocation currentInvocation() throws IllegalStateException private ExposeInvocationInterceptor() { } + @Override public Object invoke(MethodInvocation mi) throws Throwable { MethodInvocation oldInvocation = invocation.get(); invocation.set(mi); @@ -95,6 +96,7 @@ publ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/scope/DefaultScopedObject.java
@@ -55,10 +55,12 @@ public DefaultScopedObject(ConfigurableBeanFactory beanFactory, String targetBea } + @Override public Object getTargetObject() { return this.beanFactory.getBean(this.targetBeanName); } + @Override public void removeFromScope() { this.beanFactory.destroyScopedBean(this.targetBeanN...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/scope/ScopedProxyFactoryBean.java
@@ -78,6 +78,7 @@ public void setTargetBeanName(String targetBeanName) { this.scopedTargetSource.setTargetBeanName(targetBeanName); } + @Override public void setBeanFactory(BeanFactory beanFactory) { if (!(beanFactory instanceof ConfigurableBeanFactory)) { throw new IllegalStateException("Not running in...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/AbstractBeanFactoryPointcutAdvisor.java
@@ -69,6 +69,7 @@ public String getAdviceBeanName() { return this.adviceBeanName; } + @Override public void setBeanFactory(BeanFactory beanFactory) { this.beanFactory = beanFactory; } @@ -79,6 +80,7 @@ public void setAdvice(Advice advice) { } } + @Override public Advice getAdvice() { synchroni...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/AbstractExpressionPointcut.java
@@ -83,6 +83,7 @@ protected void onSetExpression(String expression) throws IllegalArgumentExceptio /** * Return this pointcut's expression. */ + @Override public String getExpression() { return this.expression; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/AbstractGenericPointcutAdvisor.java
@@ -39,6 +39,7 @@ public void setAdvice(Advice advice) { this.advice = advice; } + @Override public Advice getAdvice() { return this.advice; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/AbstractPointcutAdvisor.java
@@ -44,6 +44,7 @@ public void setOrder(int order) { this.order = order; } + @Override public int getOrder() { if (this.order != null) { return this.order; @@ -55,6 +56,7 @@ public int getOrder() { return Ordered.LOWEST_PRECEDENCE; } + @Override public boolean isPerInstance() { return true; ...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/AbstractRegexpMethodPointcut.java
@@ -124,6 +124,7 @@ public String[] getExcludedPatterns() { * of the target class as well as against the method's declaring class, * plus the name of the method. */ + @Override public boolean matches(Method method, Class targetClass) { return ((targetClass != null && matchesPattern(targetClass.getName() +...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/ClassFilters.java
@@ -96,6 +96,7 @@ public UnionClassFilter(ClassFilter[] filters) { this.filters = filters; } + @Override public boolean matches(Class clazz) { for (int i = 0; i < this.filters.length; i++) { if (this.filters[i].matches(clazz)) { @@ -130,6 +131,7 @@ public IntersectionClassFilter(ClassFilter[] filt...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/ComposablePointcut.java
@@ -170,10 +170,12 @@ public ComposablePointcut intersection(Pointcut other) { } + @Override public ClassFilter getClassFilter() { return this.classFilter; } + @Override public MethodMatcher getMethodMatcher() { return this.methodMatcher; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/ControlFlowPointcut.java
@@ -71,6 +71,7 @@ public ControlFlowPointcut(Class clazz, String methodName) { /** * Subclasses can override this for greater filtering (and performance). */ + @Override public boolean matches(Class clazz) { return true; } @@ -79,14 +80,17 @@ public boolean matches(Class clazz) { * Subclasses can over...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/DefaultBeanFactoryPointcutAdvisor.java
@@ -47,6 +47,7 @@ public void setPointcut(Pointcut pointcut) { this.pointcut = (pointcut != null ? pointcut : Pointcut.TRUE); } + @Override public Pointcut getPointcut() { return this.pointcut; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/DefaultIntroductionAdvisor.java
@@ -102,10 +102,12 @@ public void addInterface(Class intf) { this.interfaces.add(intf); } + @Override public Class[] getInterfaces() { return this.interfaces.toArray(new Class[this.interfaces.size()]); } + @Override public void validateInterfaces() throws IllegalArgumentException { for (Class ifc :...
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/DefaultPointcutAdvisor.java
@@ -77,6 +77,7 @@ public void setPointcut(Pointcut pointcut) { this.pointcut = (pointcut != null ? pointcut : Pointcut.TRUE); } + @Override public Pointcut getPointcut() { return this.pointcut; }
true
Other
spring-projects
spring-framework
3b40ce76bf751d788f57064bb692ceb8804a58af.json
Add @Override annotations to main sources Issue: SPR-10130
spring-aop/src/main/java/org/springframework/aop/support/DelegatePerTargetObjectIntroductionInterceptor.java
@@ -83,6 +83,7 @@ public DelegatePerTargetObjectIntroductionInterceptor(Class defaultImplType, Cla * behaviour in around advice. However, subclasses should invoke this * method, which handles introduced interfaces and forwarding to the target. */ + @Override public Object invoke(MethodInvocation mi) throws T...
true