Skip to content

Commit 1c65715

Browse files
committed
Removed the method for removing a record by index.
1 parent 01662be commit 1c65715

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

gcloud-java-dns/src/main/java/com/google/gcloud/dns/DnsRecord.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,6 @@ public Builder removeRecord(String record) {
146146
return this;
147147
}
148148

149-
/**
150-
* Removes a record on the given index from the set.
151-
*/
152-
public Builder removeRecord(int index) {
153-
checkArgument(index >= 0 && index < this.rrdatas.size(), "The index is out of bounds. An " +
154-
"integer between 0 and " + (this.rrdatas.size() - 1) + " is required. The provided " +
155-
"value was " + index + ".");
156-
this.rrdatas.remove(index);
157-
return this;
158-
}
159-
160149
/**
161150
* Removes all the records.
162151
*/

0 commit comments

Comments
 (0)