Skip to content

Commit bd98343

Browse files
Fix checkstyle errors
1 parent 1e7eb8c commit bd98343

File tree

127 files changed

+212
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+212
-85
lines changed

config/checkstyle/checkstyle.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction.*,
1313
org.springframework.security.test.web.servlet.response.SecurityMockMvcResultMatchers.*" />
1414
<property name="excludes" value="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck" />
15+
<property name="excludes" value="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck" />
1516
</module>
1617
<module name="com.puppycrawl.tools.checkstyle.TreeWalker">
1718
<module name="io.spring.javaformat.checkstyle.check.SpringJUnit5Check" />
@@ -46,4 +47,4 @@
4647
<property name="requireSinceTag" value="false" />
4748
</module>
4849
</module>
49-
</module>
50+
</module>

reactive/rsocket/hello-security/src/integTest/java/example/HelloRSocketApplicationITests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import io.rsocket.metadata.WellKnownMimeType;

reactive/webflux-fn/hello-security/src/test/java/example/HelloTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.junit.jupiter.api.Test;

reactive/webflux-fn/hello/src/test/java/example/HelloTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.junit.jupiter.api.Test;

reactive/webflux/java/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import com.gargoylesoftware.htmlunit.BrowserVersion;

reactive/webflux/java/hello-security-explicit/src/integTest/java/example/HelloSecurityExplicitITests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import example.pages.HomePage;

reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/HomePage.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example.pages;
1718

1819
import org.openqa.selenium.WebDriver;

reactive/webflux/java/hello-security-explicit/src/integTest/java/example/pages/LoginPage.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example.pages;
1718

1819
import org.openqa.selenium.WebDriver;

reactive/webflux/java/hello-security-explicit/src/test/java/example/HelloSecurityTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.junit.jupiter.api.Test;

reactive/webflux/java/hello-security/src/test/java/example/HelloSecurityTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.junit.jupiter.api.Test;

reactive/webflux/java/hello/src/test/java/example/HelloTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.junit.jupiter.api.Test;

reactive/webflux/java/method/src/integTest/java/example/HelloMethodApplicationITests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import java.util.function.Consumer;

reactive/webflux/java/method/src/test/java/example/HelloMethodApplicationTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.junit.jupiter.api.Test;

reactive/webflux/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.junit.jupiter.api.Test;

reactive/webflux/java/oauth2/login/src/main/java/example/ReactiveOAuth2LoginApplication.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.boot.SpringApplication;

reactive/webflux/java/oauth2/resource-server/src/main/java/example/OAuth2ResourceServerController.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.security.core.annotation.AuthenticationPrincipal;

reactive/webflux/java/oauth2/resource-server/src/main/java/example/ServerOAuth2ResourceServerApplication.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.boot.SpringApplication;

reactive/webflux/java/oauth2/resource-server/src/main/java/org/springframework/boot/env/package-info.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@
2020
*
2121
* @author Rob Winch
2222
*/
23+
2324
package org.springframework.boot.env;

reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientController.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import reactor.core.publisher.Mono;

reactive/webflux/java/oauth2/webclient/src/main/java/example/OAuth2WebClientWebFluxApplication.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.boot.SpringApplication;

reactive/webflux/java/oauth2/webclient/src/main/java/example/RegisteredOAuth2AuthorizedClientController.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import reactor.core.publisher.Mono;

reactive/webflux/java/oauth2/webclient/src/main/java/example/SecurityConfiguration.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.context.annotation.Bean;

servlet/java-configuration/authentication/preauth/src/integTest/java/example/HelloWorldTests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import example.pages.HomePage;

servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/HomePage.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example.pages;
1718

1819
import org.openqa.selenium.WebDriver;

servlet/java-configuration/authentication/preauth/src/integTest/java/example/pages/LoginPage.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example.pages;
1718

1819
import org.openqa.selenium.WebDriver;

servlet/java-configuration/authentication/preauth/src/main/java/example/IndexController.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.stereotype.Controller;

servlet/java-configuration/authentication/preauth/src/main/java/example/SecurityConfiguration.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.context.annotation.Bean;

servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/FormLoginTests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import example.pages.CustomLoginPage;

servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/CustomLoginPage.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example.pages;
1718

1819
import org.openqa.selenium.WebDriver;

servlet/java-configuration/authentication/remember-me/src/main/integTest/java/example/pages/HomePage.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example.pages;
1718

1819
import org.openqa.selenium.WebDriver;

servlet/java-configuration/authentication/remember-me/src/main/java/example/IndexController.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.stereotype.Controller;

servlet/java-configuration/authentication/remember-me/src/main/java/example/SecurityConfiguration.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import org.springframework.context.annotation.Bean;

servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/FormLoginTests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example;
1718

1819
import example.pages.CustomLoginPage;

servlet/java-configuration/authentication/username-password/form/src/integTest/java/example/pages/CustomLoginPage.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package example.pages;
1718

1819
import org.openqa.selenium.WebDriver;

0 commit comments

Comments
 (0)