Skip to content

Commit

Permalink
Upgrade to spring-javaformat-checkstyle 0.0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
royclarkson committed Aug 28, 2024
1 parent 67224a0 commit ad7f25f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ configure(allprojects - [project(':spring-cloud-open-service-broker-docs')]) {
}

dependencies {
checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:0.0.42")
checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:0.0.43")
}

test {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,19 @@ public class CreateServiceInstanceRequest extends AsyncParameterizedServiceInsta

/**
* remains in the model for marshalling support but test harnesses should not use.
* @deprecated in favor of {@link CloudFoundryContext#getOrganizationGuid()}.
* @see <a
* href=value=https://github.com/openservicebrokerapi/servicebroker/blob/v2.15/spec.md#body-3">https://github.com/openservicebrokerapi/servicebroker/blob/v2.15/spec.md#body-3</a>
*/
@Deprecated
@JsonProperty("organization_guid")
private final String organizationGuid;

/**
* remains in the model for marshalling support but test harnesses should not use.
* @deprecated in favor of {@link CloudFoundryContext#getSpaceGuid()}.
* @see <a
* href=value=https://github.com/openservicebrokerapi/servicebroker/blob/v2.15/spec.md#body-3">https://github.com/openservicebrokerapi/servicebroker/blob/v2.15/spec.md#body-3</a>
*/
@Deprecated
@JsonProperty("space_guid")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import jakarta.validation.constraints.NotEmpty;

import org.springframework.cloud.servicebroker.model.CloudFoundryContext;
import org.springframework.cloud.servicebroker.model.Context;
import org.springframework.cloud.servicebroker.model.catalog.MaintenanceInfo;
import org.springframework.cloud.servicebroker.model.catalog.Plan;
Expand Down Expand Up @@ -287,6 +288,9 @@ public static class PreviousValues {

/**
* remains in the model for marshaling support.
* @deprecated determined to be unnecessary as the value is immutable.
* @see <a
* href=https://github.com/openservicebrokerapi/servicebroker/blob/v2.16/spec.md#previous-values-object>https://github.com/openservicebrokerapi/servicebroker/blob/v2.16/spec.md#previous-values-object</a>
*/
@Deprecated
@JsonProperty("service_id")
Expand All @@ -297,12 +301,18 @@ public static class PreviousValues {

/**
* remains in the model for marshaling support.
* @deprecated in favor of {@link CloudFoundryContext#getOrganizationGuid()}.
* @see <a
* href=https://github.com/openservicebrokerapi/servicebroker/blob/v2.16/spec.md#previous-values-object>https://github.com/openservicebrokerapi/servicebroker/blob/v2.16/spec.md#previous-values-object</a>
*/
@Deprecated
private final String organizationId;

/**
* remains in the model for marshaling support.
* @deprecated in favor of {@link CloudFoundryContext#getSpaceGuid()}.
* @see <a
* href=https://github.com/openservicebrokerapi/servicebroker/blob/v2.16/spec.md#previous-values-object>https://github.com/openservicebrokerapi/servicebroker/blob/v2.16/spec.md#previous-values-object</a>
*/
@Deprecated
private final String spaceId;
Expand Down

0 comments on commit ad7f25f

Please sign in to comment.