Page MenuHomePhabricator

[lib] Simplify useExistingThreadInfoFinder
ClosedPublic

Authored by ashoat on Mon, Sep 30, 9:43 PM.
Tags
None
Referenced Files
F2860035: D13534.id.diff
Tue, Oct 1, 3:31 PM
F2859962: D13534.diff
Tue, Oct 1, 3:10 PM
F2858236: D13534.diff
Tue, Oct 1, 9:26 AM
F2853602: D13534.id44715.diff
Mon, Sep 30, 10:28 PM
F2853546: D13534.id.diff
Mon, Sep 30, 10:27 PM
F2853486: D13534.diff
Mon, Sep 30, 10:23 PM
Subscribers
None

Details

Summary

Since D13404, pendingToRealizedThreadIDsSelector will return the same thing when queried with a thin thread versus a thick thread.

As such, there's no longer a reason to check for both separately here.

Separately, I also got rid of the ternary at the end in favor of an early exit.

Depends on D13533

Test Plan

Careful reading of the code, as well as being tested with the rest of the stack, where I test all kinds of ways of creating a thread

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable