From 5b5c130733fcbad3127144f9abe1133bb12f81ef Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Tue, 23 Apr 2024 19:04:42 +0000 Subject: [PATCH] refactor: Empty new line at end of file Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/AlvZH9o21?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne --- .../openrewrite/java/spring/ChangeSpringPropertyValueTest.java | 2 +- src/test/java/org/openrewrite/java/spring/RenameBeanTest.java | 2 +- .../java/spring/boot2/HeadersConfigurerLambdaDslTest.java | 2 +- .../spring/security5/UseNewSecurityMatchersTest.java | 2 +- .../spring/security5/WebSecurityConfigurerAdapterTest.java | 2 -- .../RequireExplicitSavingOfSecurityContextRepositoryTest.java | 2 +- .../openrewrite/spring/security5/UseNewRequestMatchersTest.java | 2 +- .../openrewrite/spring/security5/UseSha256InRememberMeTest.java | 2 +- 8 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyValueTest.java b/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyValueTest.java index f7545aff9..60a2ec42a 100644 --- a/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyValueTest.java +++ b/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyValueTest.java @@ -56,4 +56,4 @@ void regex() { yaml("server.port: 53", "server.port: 8053") ); } -} \ No newline at end of file +} diff --git a/src/test/java/org/openrewrite/java/spring/RenameBeanTest.java b/src/test/java/org/openrewrite/java/spring/RenameBeanTest.java index 7eb1856c5..0024c1422 100644 --- a/src/test/java/org/openrewrite/java/spring/RenameBeanTest.java +++ b/src/test/java/org/openrewrite/java/spring/RenameBeanTest.java @@ -916,4 +916,4 @@ class A { ); } } -} \ No newline at end of file +} diff --git a/src/testWithSpringBoot_2_4/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDslTest.java b/src/testWithSpringBoot_2_4/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDslTest.java index 10f6f75e4..cfc23a89d 100644 --- a/src/testWithSpringBoot_2_4/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDslTest.java +++ b/src/testWithSpringBoot_2_4/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDslTest.java @@ -211,4 +211,4 @@ protected void configure(HttpSecurity http) throws Exception { ); } -} \ No newline at end of file +} diff --git a/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/UseNewSecurityMatchersTest.java b/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/UseNewSecurityMatchersTest.java index 6fe805059..9f58e14c4 100644 --- a/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/UseNewSecurityMatchersTest.java +++ b/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/UseNewSecurityMatchersTest.java @@ -214,4 +214,4 @@ SecurityFilterChain securityFilterChain(HttpSecurity http) { ); } -} \ No newline at end of file +} diff --git a/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/WebSecurityConfigurerAdapterTest.java b/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/WebSecurityConfigurerAdapterTest.java index e8d2aacc9..8ca8b5266 100644 --- a/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/WebSecurityConfigurerAdapterTest.java +++ b/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/WebSecurityConfigurerAdapterTest.java @@ -734,5 +734,3 @@ InMemoryUserDetailsManager inMemoryAuthManager() throws Exception { } } - - diff --git a/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/RequireExplicitSavingOfSecurityContextRepositoryTest.java b/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/RequireExplicitSavingOfSecurityContextRepositoryTest.java index 0e3daa0ab..cb1c33802 100644 --- a/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/RequireExplicitSavingOfSecurityContextRepositoryTest.java +++ b/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/RequireExplicitSavingOfSecurityContextRepositoryTest.java @@ -495,4 +495,4 @@ void method() { ) ); } -} \ No newline at end of file +} diff --git a/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UseNewRequestMatchersTest.java b/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UseNewRequestMatchersTest.java index 427e347af..3d3b5fdca 100644 --- a/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UseNewRequestMatchersTest.java +++ b/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UseNewRequestMatchersTest.java @@ -435,4 +435,4 @@ SecurityFilterChain securityFilterChain(HttpSecurity http) { ); } -} \ No newline at end of file +} diff --git a/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UseSha256InRememberMeTest.java b/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UseSha256InRememberMeTest.java index 61dcbc32a..1a4416dda 100644 --- a/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UseSha256InRememberMeTest.java +++ b/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UseSha256InRememberMeTest.java @@ -168,4 +168,4 @@ void qualifiedFieldAccess(UserDetailsService userDetailsService) { ) ); } -} \ No newline at end of file +}