Browse Source

Polish contribution

See gh-24205
pull/24212/head
Sam Brannen 6 years ago
parent
commit
6fdf5ef6ee
  1. 7
      spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java

7
spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2019 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.
@ -287,9 +287,8 @@ public class AdvisedSupport extends ProxyConfig implements Advised { @@ -287,9 +287,8 @@ public class AdvisedSupport extends ProxyConfig implements Advised {
if (advisor instanceof IntroductionAdvisor) {
IntroductionAdvisor ia = (IntroductionAdvisor) advisor;
// We need to remove introduction interfaces.
Class<?>[] interfaces = ia.getInterfaces();
for (Class<?> iface : interfaces) {
removeInterface(iface);
for (Class<?> ifc : ia.getInterfaces()) {
removeInterface(ifc);
}
}

Loading…
Cancel
Save