diff --git a/core/src/main/java/org/acegisecurity/intercept/method/aopalliance/MethodDefinitionSourceAdvisor.java b/core/src/main/java/org/acegisecurity/intercept/method/aopalliance/MethodDefinitionSourceAdvisor.java index 1fd67eb4f8..94c5de8ab0 100644 --- a/core/src/main/java/org/acegisecurity/intercept/method/aopalliance/MethodDefinitionSourceAdvisor.java +++ b/core/src/main/java/org/acegisecurity/intercept/method/aopalliance/MethodDefinitionSourceAdvisor.java @@ -90,14 +90,16 @@ public class MethodDefinitionSourceAdvisor * configuration attributes for MethodInvocations. *

*/ - private class InternalMethodInvocation implements MethodInvocation { + class InternalMethodInvocation implements MethodInvocation { Method method; public InternalMethodInvocation(Method method) { this.method = method; } - private InternalMethodInvocation() {} + protected InternalMethodInvocation() { + throw new UnsupportedOperationException(); + } public Object[] getArguments() { throw new UnsupportedOperationException();