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

Method resolve

src/main/java/core/org/xbill/DNS/Lookup.java:514–530  ·  view source on GitHub ↗
(Name current, Name suffix)

Source from the content-addressed store, hash-verified

512}
513
514private void
515resolve(Name current, Name suffix) {
516 doneCurrent = false;
517 Name tname = null;
518 if (suffix == null)
519 tname = current;
520 else {
521 try {
522 tname = Name.concatenate(current, suffix);
523 }
524 catch (NameTooLongException e) {
525 nametoolong = true;
526 return;
527 }
528 }
529 lookup(tname);
530}
531
532/**
533 * Performs the lookup, using the specified Cache, Resolver, and search path.

Callers 1

runMethod · 0.95

Calls 2

concatenateMethod · 0.95
lookupMethod · 0.95

Tested by

no test coverage detected