Skip to content

Commit

Permalink
Polish contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Dec 13, 2019
1 parent d9cae33 commit 6fdf5ef
Showing 1 changed file with 3 additions and 4 deletions.
@@ -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.
Expand Down Expand Up @@ -287,9 +287,8 @@ public void removeAdvisor(int index) throws AopConfigException {
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);
}
}

Expand Down

0 comments on commit 6fdf5ef

Please sign in to comment.