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

Method check

src/main/java/core/org/xbill/DNS/TTL.java:20–24  ·  view source on GitHub ↗
(long i)

Source from the content-addressed store, hash-verified

18TTL() {}
19
20static void
21check(long i) {
22 if (i < 0 || i > MAX_VALUE)
23 throw new InvalidTTLException(i);
24}
25
26/**
27 * Parses a TTL-like value, which can either be expressed as a number or a

Callers 5

RecordMethod · 0.95
newRecordMethod · 0.95
fromStringMethod · 0.95
formatMethod · 0.95
SIGBaseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected