Skip to content

Commit 42e24aa

Browse files
committed
Fix Formatting
1 parent 06ed6ef commit 42e24aa

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

config/src/main/java/org/springframework/security/config/websocket/WebSocketMessageBrokerSecurityBeanDefinitionParser.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616

1717
package org.springframework.security.config.websocket;
1818

19+
import java.util.Arrays;
20+
import java.util.Collections;
1921
import java.util.Comparator;
22+
import java.util.HashSet;
2023
import java.util.List;
2124
import java.util.Map;
2225
import java.util.Set;
23-
import java.util.HashSet;
24-
import java.util.Arrays;
25-
import java.util.Collections;
26-
2726
import java.util.function.Supplier;
2827

2928
import org.w3c.dom.Element;
@@ -313,11 +312,9 @@ static class MessageSecurityPostProcessor implements BeanDefinitionRegistryPostP
313312
private static final String TEMPLATE_EXPRESSION_BEAN_ID = "annotationExpressionTemplateDefaults";
314313

315314
private static final Set<String> CSRF_HANDSHAKE_HANDLER_CLASSES = Collections.unmodifiableSet(
316-
new HashSet<>(Arrays.asList(
317-
"org.springframework.web.socket.server.support.WebSocketHttpRequestHandler",
315+
new HashSet<>(Arrays.asList("org.springframework.web.socket.server.support.WebSocketHttpRequestHandler",
318316
"org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService",
319-
"org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService"
320-
)));
317+
"org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService")));
321318

322319
private final String inboundSecurityInterceptorId;
323320

0 commit comments

Comments
 (0)