Skip to content

Commit

Permalink
Hide string setter for DeprecationStatus timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
mziccard committed Jul 22, 2016
1 parent 0f59ac5 commit 41036ec
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public static final class Builder<T extends ResourceId> {
*
* @see <a href="http://www.ietf.org/rfc/rfc3339.txt">RFC3339</a>
*/
// todo(mziccard): remove this method if #732 is closed
public Builder<T> deleted(String deleted) {
// Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details)
Builder<T> deleted(String deleted) {
this.deleted = deleted;
return this;
}
Expand All @@ -108,8 +108,8 @@ public Builder<T> deleted(String deleted) {
*
* @see <a href="http://www.ietf.org/rfc/rfc3339.txt">RFC3339</a>
*/
// todo(mziccard): remove this method if #732 is closed
public Builder<T> deprecated(String deprecated) {
// Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details)
Builder<T> deprecated(String deprecated) {
this.deprecated = deprecated;
return this;
}
Expand All @@ -120,8 +120,8 @@ public Builder<T> deprecated(String deprecated) {
*
* @see <a href="http://www.ietf.org/rfc/rfc3339.txt">RFC3339</a>
*/
// todo(mziccard): remove this method if #732 is closed
public Builder<T> obsolete(String obsolete) {
// Wrongly-formatted timestamps were allowed, we must still support them (see #732 for details)
Builder<T> obsolete(String obsolete) {
this.obsolete = obsolete;
return this;
}
Expand Down Expand Up @@ -193,7 +193,7 @@ public DeprecationStatus<T> build() {
*
* @see <a href="http://www.ietf.org/rfc/rfc3339.txt">RFC3339</a>
*/
// 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;
}
Expand All @@ -205,7 +205,7 @@ public String deleted() {
*
* @see <a href="http://www.ietf.org/rfc/rfc3339.txt">RFC3339</a>
*/
// 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;
}
Expand All @@ -217,7 +217,7 @@ public String deprecated() {
*
* @see <a href="http://www.ietf.org/rfc/rfc3339.txt">RFC3339</a>
*/
// 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;
}
Expand Down

0 comments on commit 41036ec

Please sign in to comment.