Polish contribution

See gh-24205
This commit is contained in:
Sam Brannen
2019-12-13 17:14:26 +01:00
parent d9cae339d6
commit 6fdf5ef6ee

View File

@@ -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 {
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);
}
}