From 41036ecc657c0c41e84dad091816610accbe616e Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 22 Jul 2016 12:05:42 +0200 Subject: [PATCH] Hide string setter for DeprecationStatus timestamps --- .../cloud/compute/DeprecationStatus.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gcloud-java-compute/src/main/java/com/google/cloud/compute/DeprecationStatus.java b/gcloud-java-compute/src/main/java/com/google/cloud/compute/DeprecationStatus.java index bdf7fa0a57b4..44174c66da15 100644 --- a/gcloud-java-compute/src/main/java/com/google/cloud/compute/DeprecationStatus.java +++ b/gcloud-java-compute/src/main/java/com/google/cloud/compute/DeprecationStatus.java @@ -96,8 +96,8 @@ public static final class Builder { * * @see RFC3339 */ - // todo(mziccard): remove this method if #732 is closed - public Builder deleted(String deleted) { + // Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details) + Builder deleted(String deleted) { this.deleted = deleted; return this; } @@ -108,8 +108,8 @@ public Builder deleted(String deleted) { * * @see RFC3339 */ - // todo(mziccard): remove this method if #732 is closed - public Builder deprecated(String deprecated) { + // Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details) + Builder deprecated(String deprecated) { this.deprecated = deprecated; return this; } @@ -120,8 +120,8 @@ public Builder deprecated(String deprecated) { * * @see RFC3339 */ - // todo(mziccard): remove this method if #732 is closed - public Builder obsolete(String obsolete) { + // Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details) + Builder obsolete(String obsolete) { this.obsolete = obsolete; return this; } @@ -193,7 +193,7 @@ public DeprecationStatus build() { * * @see RFC3339 */ - // todo(mziccard): remove this method if #732 is closed + // Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details) public String deleted() { return deleted; } @@ -205,7 +205,7 @@ public String deleted() { * * @see RFC3339 */ - // todo(mziccard): remove this method if #732 is closed + // Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details) public String deprecated() { return deprecated; } @@ -217,7 +217,7 @@ public String deprecated() { * * @see RFC3339 */ - // todo(mziccard): remove this method if #732 is closed + // Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details) public String obsolete() { return obsolete; }