From d338d3cb95b6a0145157454cf9052180c4e6334f Mon Sep 17 00:00:00 2001 From: Anthony Dahanne Date: Fri, 1 Nov 2024 11:25:05 -0400 Subject: [PATCH] run spotless:apply --- .../java/org/cloudfoundry/client/v3/processes/Process.java | 4 +--- .../main/java/org/cloudfoundry/client/v3/stacks/Stack.java | 7 +++---- .../main/java/org/cloudfoundry/client/v3/tasks/Task.java | 3 +-- .../routing/v1/tcproutes/AbstractTcpRoute.java | 6 +++--- .../java/org/cloudfoundry/client/v3/ProcessesTest.java | 1 - 5 files changed, 8 insertions(+), 13 deletions(-) diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/processes/Process.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/processes/Process.java index 6749942147..5500d8339b 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/processes/Process.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/processes/Process.java @@ -17,9 +17,9 @@ package org.cloudfoundry.client.v3.processes; import com.fasterxml.jackson.annotation.JsonProperty; +import org.cloudfoundry.Nullable; import org.cloudfoundry.client.v3.Metadata; import org.cloudfoundry.client.v3.Resource; -import org.cloudfoundry.Nullable; /** * Base class for responses that are processes @@ -87,6 +87,4 @@ public abstract class Process extends Resource { @JsonProperty("log_rate_limit_in_bytes_per_second") @Nullable public abstract Integer getLogRateLimitInBytesPerSecond(); - - } diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/stacks/Stack.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/stacks/Stack.java index 84f359513a..0e90cc053d 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/stacks/Stack.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/stacks/Stack.java @@ -46,25 +46,24 @@ public abstract class Stack extends Resource { @Nullable public abstract Metadata getMetadata(); - /** + /** * Build RootFS Image */ @JsonProperty("build_rootfs_image") @Nullable abstract String getBuildRootfsImage(); - /** + /** * Run RootFS Image */ @JsonProperty("run_rootfs_image") @Nullable abstract String getRunRootfsImage(); - /** + /** * Whether the stack is configured to be the default stack for new applications. */ @JsonProperty("default") @Nullable abstract Boolean geDefault(); - } diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/tasks/Task.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/tasks/Task.java index 1ef863d8a7..bd08afe582 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/tasks/Task.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/tasks/Task.java @@ -96,5 +96,4 @@ public abstract class Task extends Resource { @JsonProperty("log_rate_limit_in_bytes_per_second") @Nullable public abstract Integer getLogRateLimitInBytesPerSecond(); - -} \ No newline at end of file +} diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/routing/v1/tcproutes/AbstractTcpRoute.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/routing/v1/tcproutes/AbstractTcpRoute.java index f6d7ac0741..07059a555b 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/routing/v1/tcproutes/AbstractTcpRoute.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/routing/v1/tcproutes/AbstractTcpRoute.java @@ -67,14 +67,14 @@ abstract class AbstractTcpRoute { /** * Backend TLS port - */ + */ @JsonProperty("backend_tls_port") @Nullable abstract Integer getBackendTlsPort(); - /** + /** * Instance ID - */ + */ @JsonProperty("instance_id") @Nullable abstract Integer getInstanceId(); diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v3/ProcessesTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v3/ProcessesTest.java index e2433ada1c..5b2f10bfb0 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v3/ProcessesTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v3/ProcessesTest.java @@ -17,7 +17,6 @@ package org.cloudfoundry.client.v3; import static org.assertj.core.api.Assertions.assertThat; -import static org.cloudfoundry.CloudFoundryVersion.PCF_2_9; import java.io.IOException; import java.nio.file.Path;