Skip to content

Commit

Permalink
Upgrade to spring-java-format 0.0.43
Browse files Browse the repository at this point in the history
Closes gh-1561
  • Loading branch information
mhalbritter committed Aug 19, 2024
1 parent 2f2500f commit 6ec2838
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ public GradleBuildProjectContributor gradleKtsBuildProjectContributor(KotlinDslG

/**
* Configuration specific to projects using Gradle 6.
*
* @deprecated Gradle 6 support is deprecated
*/
@Configuration
@ConditionalOnGradleVersion("6")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*
* @author Stephane Nicoll
*/
public class ConditionalOnGradleVersionTests {
class ConditionalOnGradleVersionTests {

private final ProjectAssetTester projectTester = new ProjectAssetTester()
.withConfiguration(GradleVersionTestConfiguration.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @author Stephane Nicoll
*/
@SuppressWarnings("removal")
public class GradleTaskTests {
class GradleTaskTests {

@Test
void attributeSetHasSensibleToString() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @author HaiTao Zhang
* @author Stephane Nicoll
*/
public class MavenPluginContainerTests {
class MavenPluginContainerTests {

@Test
void addPlugin() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Tests for {@link MavenProfileActivation}.
*/
public class MavenProfileActivationTests {
class MavenProfileActivationTests {

@Test
void profileWithNoActivation() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
* @author Joachim Pasquali
*/
public class MavenScmTests {
class MavenScmTests {

@Test
void isEmptyWithNoData() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
*
* @author Stephane Nicoll
*/
public class ProjectGeneratorTests {
class ProjectGeneratorTests {

@Test
void generateRegisterProjectDescription() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @author Stephane Nicoll
*/
@ActiveProfiles("test-default")
public class CommandLineMetadataControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests {
class CommandLineMetadataControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests {

@Test
void curlReceivesTextByDefault() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* @author Stephane Nicoll
*/
@ActiveProfiles({ "test-default", "test-ssl" })
public class CommandLineMetadataControllerSslIntegrationTests extends AbstractInitializrControllerIntegrationTests {
class CommandLineMetadataControllerSslIntegrationTests extends AbstractInitializrControllerIntegrationTests {

@Test
void forceSsl() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @author HaiTao Zhang
*/
@ActiveProfiles("test-default")
public class ProjectGenerationControllerArchiveIntegrationTests extends AbstractFullStackInitializrIntegrationTests {
class ProjectGenerationControllerArchiveIntegrationTests extends AbstractFullStackInitializrIntegrationTests {

@Test
void baseDirectorySeparatedBySpace() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @author Stephane Nicoll
*/
@ActiveProfiles("test-default")
public class ProjectMetadataControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests {
class ProjectMetadataControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests {

@Test
void metadataWithNoAcceptHeader() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
* @author Stephane Nicoll
*/
@ActiveProfiles({ "test-default", "test-custom-env" })
public class SpringCliDistributionControllerCustomEnvsIntegrationTests
extends AbstractInitializrControllerIntegrationTests {
class SpringCliDistributionControllerCustomEnvsIntegrationTests extends AbstractInitializrControllerIntegrationTests {

@Test
void downloadCliWithCustomRepository() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @author Stephane Nicoll
*/
@ActiveProfiles("test-default")
public class SpringCliDistributionControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests {
class SpringCliDistributionControllerIntegrationTests extends AbstractInitializrControllerIntegrationTests {

@Test
void downloadCli() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
*
* @author Madhura Bhave
*/
public class ProjectGenerationInvokerTests {
class ProjectGenerationInvokerTests {

private static final InitializrMetadata metadata = InitializrMetadataTestBuilder.withDefaults().build();

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</property>
</activation>
<properties>
<spring-javaformat.version>0.0.42</spring-javaformat.version>
<spring-javaformat.version>0.0.43</spring-javaformat.version>
<nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
</properties>
<build>
Expand Down

0 comments on commit 6ec2838

Please sign in to comment.