From 1fc64cf36c32ca44aa336a8a5cdd04537e17cd7d Mon Sep 17 00:00:00 2001 From: adriancole Date: Wed, 10 Apr 2013 10:43:01 -0700 Subject: [PATCH] fixed toString on ultra domain objects --- .../java/org/jclouds/ultradns/ws/domain/DirectionalGroup.java | 2 +- .../jclouds/ultradns/ws/domain/DirectionalGroupCoordinates.java | 2 +- .../ultradns/ws/domain/DirectionalGroupNameAndRegions.java | 2 +- .../java/org/jclouds/ultradns/ws/domain/DirectionalRecord.java | 2 +- .../org/jclouds/ultradns/ws/domain/DirectionalRecordDetail.java | 2 +- .../src/main/java/org/jclouds/ultradns/ws/domain/Region.java | 2 +- .../java/org/jclouds/ultradns/ws/domain/ResourceRecord.java | 2 +- .../org/jclouds/ultradns/ws/domain/ResourceRecordMetadata.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroup.java b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroup.java index 97a67490e0..7caaf52d0c 100644 --- a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroup.java +++ b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroup.java @@ -61,7 +61,7 @@ public class DirectionalGroup { @Override public String toString() { - return toStringHelper("").omitNullValues().add("id", id).add("name", name).toString(); + return toStringHelper(this).omitNullValues().add("id", id).add("name", name).toString(); } public static Builder builder() { diff --git a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroupCoordinates.java b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroupCoordinates.java index 65bf4cf17d..ecd607584f 100644 --- a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroupCoordinates.java +++ b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroupCoordinates.java @@ -95,7 +95,7 @@ public class DirectionalGroupCoordinates { @Override public String toString() { - return toStringHelper("").add("zoneName", zoneName).add("recordName", recordName).add("recordType", recordType) + return toStringHelper(this).add("zoneName", zoneName).add("recordName", recordName).add("recordType", recordType) .add("groupName", groupName).toString(); } diff --git a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroupNameAndRegions.java b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroupNameAndRegions.java index 1b0f960cf7..9c7b55f8bb 100644 --- a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroupNameAndRegions.java +++ b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalGroupNameAndRegions.java @@ -73,7 +73,7 @@ public class DirectionalGroupNameAndRegions extends ForwardingSet { @Override public String toString() { - return toStringHelper("").add("name", name).add("regions", regions).toString(); + return toStringHelper(this).add("name", name).add("regions", regions).toString(); } public static Builder builder() { diff --git a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalRecord.java b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalRecord.java index 89e03b0a6a..2dcdbbac66 100644 --- a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalRecord.java +++ b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalRecord.java @@ -91,7 +91,7 @@ public class DirectionalRecord { @Override public String toString() { - return toStringHelper("").add("type", type).add("ttl", ttl).add("noResponseRecord", noResponseRecord) + return toStringHelper(this).add("type", type).add("ttl", ttl).add("noResponseRecord", noResponseRecord) .add("infoValues", infoValues).toString(); } diff --git a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalRecordDetail.java b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalRecordDetail.java index 098688c45e..ecd9456843 100644 --- a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalRecordDetail.java +++ b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/DirectionalRecordDetail.java @@ -104,7 +104,7 @@ public class DirectionalRecordDetail { @Override public String toString() { - return toStringHelper("").omitNullValues().add("zoneName", zoneName).add("name", name).add("id", id) + return toStringHelper(this).omitNullValues().add("zoneName", zoneName).add("name", name).add("id", id) .add("group", group.orNull()).add("geolocationGroup", geolocationGroup.orNull()) .add("sourceIpGroup", sourceIpGroup.orNull()).add("record", record).toString(); } diff --git a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/Region.java b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/Region.java index 7b0e819837..23ea0fd7cf 100644 --- a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/Region.java +++ b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/Region.java @@ -73,7 +73,7 @@ public class Region extends ForwardingSet { @Override public String toString() { - return toStringHelper("").add("name", name).add("territoryNames", territoryNames).toString(); + return toStringHelper(this).add("name", name).add("territoryNames", territoryNames).toString(); } public static Builder builder() { diff --git a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/ResourceRecord.java b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/ResourceRecord.java index 08dc6738c2..65850cc74e 100644 --- a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/ResourceRecord.java +++ b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/ResourceRecord.java @@ -92,7 +92,7 @@ public class ResourceRecord { @Override public String toString() { - return toStringHelper("").omitNullValues().add("dName", dName).add("type", type).add("ttl", ttl) + return toStringHelper(this).omitNullValues().add("dName", dName).add("type", type).add("ttl", ttl) .add("infoValues", infoValues).toString(); } diff --git a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/ResourceRecordMetadata.java b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/ResourceRecordMetadata.java index af9bf39b6e..b98ac37e28 100644 --- a/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/ResourceRecordMetadata.java +++ b/providers/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/domain/ResourceRecordMetadata.java @@ -93,7 +93,7 @@ public class ResourceRecordMetadata { @Override public String toString() { - return toStringHelper("").omitNullValues().add("zoneId", zoneId).add("guid", guid).add("zoneName", zoneName) + return toStringHelper(this).omitNullValues().add("zoneId", zoneId).add("guid", guid).add("zoneName", zoneName) .add("created", created).add("modified", modified).add("record", record).toString(); }