MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / removeAllRecords

Method removeAllRecords

src/main/java/core/org/xbill/DNS/Message.java:199–203  ·  view source on GitHub ↗

Removes all records from a section of the Message, and adjusts the header. @see Record @see Section

(int section)

Source from the content-addressed store, hash-verified

197 * @see Section
198 */
199public void
200removeAllRecords(int section) {
201 sections[section] = null;
202 header.setCount(section, 0);
203}
204
205/**
206 * Determines if the given record is already present in the given section.

Callers 1

buildErrorMessageMethod · 0.95

Calls 1

setCountMethod · 0.80

Tested by

no test coverage detected