1
0
mirror of synced 2026-07-19 09:35:12 +00:00

Fix MethodSecurityEvaluationContextTests

Update for 4.2.x code base

Issue: gh-6384
This commit is contained in:
Rob Winch
2019-01-10 10:50:45 -06:00
parent e8d58498b0
commit 7da0c74095
@@ -21,10 +21,9 @@ import org.aopalliance.intercept.MethodInvocation;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.mockito.runners.MockitoJUnitRunner;
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.lang.Nullable;
import org.springframework.security.core.Authentication;
import org.springframework.util.ReflectionUtils;
@@ -64,7 +63,7 @@ public class MethodSecurityEvaluationContextTests {
}
@Override
public void setVariable(String name, @Nullable Object value) {
public void setVariable(String name, Object value) {
if ( name == null ) {
throw new IllegalArgumentException("name should not be null");
}