Commit f037ebb2 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2284] minor comment update about in-memory finder context's getFinder().

with the cleanup in this ticket we can now actually return NULL, but
intermediate status of other #2283 tickets will require non NULL values.
So, it's probably better to keep the behavior with referring to #2283,
instead of #2284.
parent b1d4ff89
......@@ -538,14 +538,14 @@ public:
const RRClass& rrclass, const ZoneFinderResultContext& result) :
ZoneFinder::Context(options, ResultContext(result.code, result.rrset,
result.flags)),
finder_(finder), // NOTE: when #2284 is done we won't need this
finder_(finder), // NOTE: when entire #2283 is done we won't need this
rrclass_(rrclass), zone_data_(result.zone_data),
found_node_(result.found_node),
found_rdset_(result.found_rdset)
{}
protected:
// When #2284 is done this can simply return NULL.
// When all tickets in #2283 are done this can simply return NULL.
virtual ZoneFinder* getFinder() { return (&finder_); }
// We don't use the default protected methods that rely on this method,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment