Skip to content

Commit c283a21

Browse files
committed
Remove default method
1 parent f7a775f commit c283a21

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

core/src/main/java/org/springframework/security/authorization/AuthorizationProxyFactory.java

-11
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,4 @@ public interface AuthorizationProxyFactory {
3737
*/
3838
Object proxy(Object object);
3939

40-
default Object requireProxy(Object object) {
41-
if (object == null) {
42-
return null;
43-
}
44-
Object proxy = proxy(object);
45-
if (proxy == object) {
46-
throw new IllegalArgumentException("Failed to proxy object");
47-
}
48-
return proxy;
49-
}
50-
5140
}

0 commit comments

Comments
 (0)