mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-05 18:22:26 +00:00
Make InternalMethodInvocation package protected for better unit test support.
This commit is contained in:
parent
f73fc735c2
commit
ab6df6cfce
@ -90,14 +90,16 @@ public class MethodDefinitionSourceAdvisor
|
|||||||
* configuration attributes for <code>MethodInvocation</code>s.
|
* configuration attributes for <code>MethodInvocation</code>s.
|
||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
private class InternalMethodInvocation implements MethodInvocation {
|
class InternalMethodInvocation implements MethodInvocation {
|
||||||
Method method;
|
Method method;
|
||||||
|
|
||||||
public InternalMethodInvocation(Method method) {
|
public InternalMethodInvocation(Method method) {
|
||||||
this.method = method;
|
this.method = method;
|
||||||
}
|
}
|
||||||
|
|
||||||
private InternalMethodInvocation() {}
|
protected InternalMethodInvocation() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
public Object[] getArguments() {
|
public Object[] getArguments() {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user