diff --git a/labs/dynect/src/main/java/org/jclouds/dynect/v3/domain/RecordId.java b/labs/dynect/src/main/java/org/jclouds/dynect/v3/domain/RecordId.java index 8a982795d3..a69f4cd5cb 100644 --- a/labs/dynect/src/main/java/org/jclouds/dynect/v3/domain/RecordId.java +++ b/labs/dynect/src/main/java/org/jclouds/dynect/v3/domain/RecordId.java @@ -101,7 +101,7 @@ public class RecordId { return toStringHelper(this).add("zone", zone).add("fqdn", fqdn).add("type", type).add("id", id); } - public static Builder builder() { + public static Builder recordIdBuilder() { return new ConcreteBuilder(); } diff --git a/labs/dynect/src/main/java/org/jclouds/dynect/v3/functions/ToRecordIds.java b/labs/dynect/src/main/java/org/jclouds/dynect/v3/functions/ToRecordIds.java index 8a1ffd5fc2..34edeada4f 100644 --- a/labs/dynect/src/main/java/org/jclouds/dynect/v3/functions/ToRecordIds.java +++ b/labs/dynect/src/main/java/org/jclouds/dynect/v3/functions/ToRecordIds.java @@ -20,6 +20,7 @@ package org.jclouds.dynect.v3.functions; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; +import static org.jclouds.dynect.v3.domain.RecordId.recordIdBuilder; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -63,7 +64,7 @@ public final class ToRecordIds implements Function expected() { - Builder builder = RecordId.builder() + Builder builder = recordIdBuilder() .zone("adrianc.zone.dynecttest.jclouds.org") .fqdn("adrianc.zone.dynecttest.jclouds.org"); return FluentIterable.from(ImmutableSet. builder() diff --git a/labs/dynect/src/test/java/org/jclouds/dynect/v3/predicates/RecordPredicatesTest.java b/labs/dynect/src/test/java/org/jclouds/dynect/v3/predicates/RecordPredicatesTest.java index 868100c7f8..d61afd2b89 100644 --- a/labs/dynect/src/test/java/org/jclouds/dynect/v3/predicates/RecordPredicatesTest.java +++ b/labs/dynect/src/test/java/org/jclouds/dynect/v3/predicates/RecordPredicatesTest.java @@ -1,5 +1,6 @@ package org.jclouds.dynect.v3.predicates; +import static org.jclouds.dynect.v3.domain.RecordId.recordIdBuilder; import static org.jclouds.dynect.v3.predicates.RecordPredicates.typeEquals; import org.jclouds.dynect.v3.domain.RecordId; @@ -11,7 +12,7 @@ import org.testng.annotations.Test; */ @Test(groups = "unit") public class RecordPredicatesTest { - RecordId recordId = RecordId.builder() + RecordId recordId = recordIdBuilder() .zone("adrianc.zone.dynecttest.jclouds.org") .fqdn("adrianc.zone.dynecttest.jclouds.org") .type("SOA")