We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01662be commit 1c65715Copy full SHA for 1c65715
1 file changed
gcloud-java-dns/src/main/java/com/google/gcloud/dns/DnsRecord.java
@@ -146,17 +146,6 @@ public Builder removeRecord(String record) {
146
return this;
147
}
148
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
-
160
/**
161
* Removes all the records.
162
*/
0 commit comments