Merge branch '5.1.x'
# Conflicts: # build.gradle # spring-context/spring-context.gradle # spring-test/spring-test.gradle # spring-web/spring-web.gradle # spring-webflux/spring-webflux.gradle # spring-webmvc/spring-webmvc.gradle
This commit is contained in:
commit
d00690f43f
14
build.gradle
14
build.gradle
|
|
@ -58,7 +58,7 @@ configure(allprojects) { project ->
|
||||||
entry 'log4j-slf4j-impl'
|
entry 'log4j-slf4j-impl'
|
||||||
entry 'log4j-jul'
|
entry 'log4j-jul'
|
||||||
}
|
}
|
||||||
dependency "org.slf4j:slf4j-api:1.7.26"
|
dependency "org.slf4j:slf4j-api:1.7.28"
|
||||||
|
|
||||||
dependency "com.google.code.findbugs:jsr305:3.0.2"
|
dependency "com.google.code.findbugs:jsr305:3.0.2"
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@ configure(allprojects) { project ->
|
||||||
entry 'aspectjtools'
|
entry 'aspectjtools'
|
||||||
entry 'aspectjweaver'
|
entry 'aspectjweaver'
|
||||||
}
|
}
|
||||||
dependencySet(group: 'org.codehaus.groovy', version: '2.5.7') {
|
dependencySet(group: 'org.codehaus.groovy', version: '2.5.8') {
|
||||||
entry 'groovy'
|
entry 'groovy'
|
||||||
entry 'groovy-jsr223'
|
entry 'groovy-jsr223'
|
||||||
entry 'groovy-templates'
|
entry 'groovy-templates'
|
||||||
|
|
@ -95,7 +95,7 @@ configure(allprojects) { project ->
|
||||||
exclude group: "xpp3", name: "xpp3_min"
|
exclude group: "xpp3", name: "xpp3_min"
|
||||||
exclude group: "xmlpull", name: "xmlpull"
|
exclude group: "xmlpull", name: "xmlpull"
|
||||||
}
|
}
|
||||||
dependency "org.apache.johnzon:johnzon-jsonb:1.1.12"
|
dependency "org.apache.johnzon:johnzon-jsonb:1.1.13"
|
||||||
dependency("org.codehaus.jettison:jettison:1.3.8") {
|
dependency("org.codehaus.jettison:jettison:1.3.8") {
|
||||||
exclude group: "stax", name: "stax-api"
|
exclude group: "stax", name: "stax-api"
|
||||||
}
|
}
|
||||||
|
|
@ -109,7 +109,7 @@ configure(allprojects) { project ->
|
||||||
dependency "com.h2database:h2:1.4.199"
|
dependency "com.h2database:h2:1.4.199"
|
||||||
dependency "com.github.ben-manes.caffeine:caffeine:2.8.0"
|
dependency "com.github.ben-manes.caffeine:caffeine:2.8.0"
|
||||||
dependency "com.github.librepdf:openpdf:1.2.21"
|
dependency "com.github.librepdf:openpdf:1.2.21"
|
||||||
dependency "com.rometools:rome:1.12.1"
|
dependency "com.rometools:rome:1.12.2"
|
||||||
dependency "commons-io:commons-io:2.5"
|
dependency "commons-io:commons-io:2.5"
|
||||||
dependency "io.vavr:vavr:0.10.0"
|
dependency "io.vavr:vavr:0.10.0"
|
||||||
dependency "net.sf.jopt-simple:jopt-simple:5.0.4"
|
dependency "net.sf.jopt-simple:jopt-simple:5.0.4"
|
||||||
|
|
@ -162,11 +162,11 @@ configure(allprojects) { project ->
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencySet(group: 'com.squareup.okhttp3', version: '3.14.2') {
|
dependencySet(group: 'com.squareup.okhttp3', version: '3.14.3') {
|
||||||
entry 'okhttp'
|
entry 'okhttp'
|
||||||
entry 'mockwebserver'
|
entry 'mockwebserver'
|
||||||
}
|
}
|
||||||
dependency("org.apache.httpcomponents:httpclient:4.5.9") {
|
dependency("org.apache.httpcomponents:httpclient:4.5.10") {
|
||||||
exclude group: "commons-logging", name: "commons-logging"
|
exclude group: "commons-logging", name: "commons-logging"
|
||||||
}
|
}
|
||||||
dependency("org.apache.httpcomponents:httpasyncclient:4.1.4") {
|
dependency("org.apache.httpcomponents:httpasyncclient:4.1.4") {
|
||||||
|
|
@ -244,7 +244,7 @@ configure(allprojects) { project ->
|
||||||
|
|
||||||
dependency "com.ibm.websphere:uow:6.0.2.17"
|
dependency "com.ibm.websphere:uow:6.0.2.17"
|
||||||
dependency "com.jamonapi:jamon:2.81"
|
dependency "com.jamonapi:jamon:2.81"
|
||||||
dependency "joda-time:joda-time:2.10.3"
|
dependency "joda-time:joda-time:2.10.4"
|
||||||
dependency "org.eclipse.persistence:org.eclipse.persistence.jpa:2.7.4"
|
dependency "org.eclipse.persistence:org.eclipse.persistence.jpa:2.7.4"
|
||||||
dependency "org.javamoney:moneta:1.3"
|
dependency "org.javamoney:moneta:1.3"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -203,7 +203,7 @@ public class ComposablePointcut implements Pointcut, Serializable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "ComposablePointcut: " + this.classFilter + ", " + this.methodMatcher;
|
return getClass().getName() + ": " + this.classFilter + ", " + this.methodMatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -82,25 +82,25 @@ public class DefaultIntroductionAdvisor implements IntroductionAdvisor, ClassFil
|
||||||
/**
|
/**
|
||||||
* Create a DefaultIntroductionAdvisor for the given advice.
|
* Create a DefaultIntroductionAdvisor for the given advice.
|
||||||
* @param advice the Advice to apply
|
* @param advice the Advice to apply
|
||||||
* @param intf the interface to introduce
|
* @param ifc the interface to introduce
|
||||||
*/
|
*/
|
||||||
public DefaultIntroductionAdvisor(DynamicIntroductionAdvice advice, Class<?> intf) {
|
public DefaultIntroductionAdvisor(DynamicIntroductionAdvice advice, Class<?> ifc) {
|
||||||
Assert.notNull(advice, "Advice must not be null");
|
Assert.notNull(advice, "Advice must not be null");
|
||||||
this.advice = advice;
|
this.advice = advice;
|
||||||
addInterface(intf);
|
addInterface(ifc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the specified interface to the list of interfaces to introduce.
|
* Add the specified interface to the list of interfaces to introduce.
|
||||||
* @param intf the interface to introduce
|
* @param ifc the interface to introduce
|
||||||
*/
|
*/
|
||||||
public void addInterface(Class<?> intf) {
|
public void addInterface(Class<?> ifc) {
|
||||||
Assert.notNull(intf, "Interface must not be null");
|
Assert.notNull(ifc, "Interface must not be null");
|
||||||
if (!intf.isInterface()) {
|
if (!ifc.isInterface()) {
|
||||||
throw new IllegalArgumentException("Specified class [" + intf.getName() + "] must be an interface");
|
throw new IllegalArgumentException("Specified class [" + ifc.getName() + "] must be an interface");
|
||||||
}
|
}
|
||||||
this.interfaces.add(intf);
|
this.interfaces.add(ifc);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -113,8 +113,8 @@ public class DefaultIntroductionAdvisor implements IntroductionAdvisor, ClassFil
|
||||||
for (Class<?> ifc : this.interfaces) {
|
for (Class<?> ifc : this.interfaces) {
|
||||||
if (this.advice instanceof DynamicIntroductionAdvice &&
|
if (this.advice instanceof DynamicIntroductionAdvice &&
|
||||||
!((DynamicIntroductionAdvice) this.advice).implementsInterface(ifc)) {
|
!((DynamicIntroductionAdvice) this.advice).implementsInterface(ifc)) {
|
||||||
throw new IllegalArgumentException("DynamicIntroductionAdvice [" + this.advice + "] " +
|
throw new IllegalArgumentException("DynamicIntroductionAdvice [" + this.advice + "] " +
|
||||||
"does not implement interface [" + ifc.getName() + "] specified for introduction");
|
"does not implement interface [" + ifc.getName() + "] specified for introduction");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue