mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Fix malformed formatter-on/off javadoc
Remove the formatter-on/formatter-off comments from Javadoc examples so that they don't confuse checkstyle. The comments are not necessary in the Javadoc since `pre` blocks are not formatted in the same way as code. Issue gh-8945
This commit is contained in:
parent
8e092f8d2c
commit
9caa39e370
@ -56,7 +56,6 @@ import java.util.List;
|
||||
* <pre class="code">
|
||||
* @EnableRSocketSecurity
|
||||
* public class SecurityConfig {
|
||||
* // @formatter:off
|
||||
* @Bean
|
||||
* PayloadSocketAcceptorInterceptor rsocketInterceptor(RSocketSecurity rsocket) {
|
||||
* rsocket
|
||||
@ -66,9 +65,7 @@ import java.util.List;
|
||||
* );
|
||||
* return rsocket.build();
|
||||
* }
|
||||
* // @formatter:on
|
||||
*
|
||||
* // @formatter:off
|
||||
* @Bean
|
||||
* public MapReactiveUserDetailsService userDetailsService() {
|
||||
* UserDetails user = User.withDefaultPasswordEncoder()
|
||||
@ -78,7 +75,6 @@ import java.util.List;
|
||||
* .build();
|
||||
* return new MapReactiveUserDetailsService(user);
|
||||
* }
|
||||
* // @formatter:on
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
@ -87,7 +83,6 @@ import java.util.List;
|
||||
* <pre class="code">
|
||||
* @EnableRSocketSecurity
|
||||
* public class SecurityConfig {
|
||||
* // @formatter:off
|
||||
* @Bean
|
||||
* PayloadSocketAcceptorInterceptor rsocketInterceptor(RSocketSecurity rsocket) {
|
||||
* rsocket
|
||||
@ -102,7 +97,6 @@ import java.util.List;
|
||||
* );
|
||||
* return rsocket.build();
|
||||
* }
|
||||
* // @formatter:on
|
||||
* }
|
||||
* </pre>
|
||||
* @author Rob Winch
|
||||
|
Loading…
x
Reference in New Issue
Block a user