Include tags in existing toString() methods on Drive and subclasses

This commit is contained in:
Alasdair Hodge 2011-12-22 00:09:27 +00:00
parent 5ef0d04448
commit df8d529235
3 changed files with 8 additions and 6 deletions

View File

@ -163,7 +163,8 @@ public class CreateDriveRequest extends Drive {
@Override
public String toString() {
return "[name=" + name + ", size=" + size + ", claimType=" + claimType + ", readers=" + readers + ", use=" + use
+ ", avoid=" + avoid + ", encryptionCipher=" + encryptionCipher + "]";
return "[name=" + name + ", size=" + size + ", claimType=" + claimType + ", tags=" + tags
+ ", readers=" + readers + ", use=" + use + ", avoid=" + avoid
+ ", encryptionCipher=" + encryptionCipher + "]";
}
}

View File

@ -209,7 +209,7 @@ public class Drive extends Item {
@Override
public String toString() {
return "[uuid=" + uuid + ", name=" + name + ", use=" + use + ", size=" + size + ", claimType=" + claimType
+ ", readers=" + readers + "]";
+ ", tags=" + tags + ", readers=" + readers + "]";
}
}

View File

@ -463,9 +463,10 @@ public class DriveInfo extends Drive {
@Override
public String toString() {
return "[size=" + size + ", claimType=" + claimType + ", readers=" + readers + ", uuid=" + uuid + ", name="
+ name + ", use=" + use + ", status=" + status + ", user=" + user + ", claimed=" + claimed
+ ", encryptionCipher=" + encryptionCipher + ", imaging=" + imaging + ", metrics=" + metrics + "]";
return "[size=" + size + ", claimType=" + claimType + ", tags=" + tags + ", readers=" + readers
+ ", uuid=" + uuid + ", name=" + name + ", use=" + use + ", status=" + status
+ ", user=" + user + ", claimed=" + claimed + ", encryptionCipher=" + encryptionCipher
+ ", imaging=" + imaging + ", metrics=" + metrics + "]";
}
}