Closed th-we closed 2 years ago
Apparently, I added a check for null in NextNormalOrGrace() which I forgot in PrevNormalOrGrace(), which is a 1:1 copy with only some renamed variables and method calls. To prevent code diversion in this duplicated code, I merged both functions.
null
NextNormalOrGrace()
PrevNormalOrGrace()
Rename function
Is the naming in af7b8af better?
@ahankinson I really have to thank for your review work. So thorough and well communicated. 🙏
Apparently, I added a check for
null
inNextNormalOrGrace()
which I forgot inPrevNormalOrGrace()
, which is a 1:1 copy with only some renamed variables and method calls. To prevent code diversion in this duplicated code, I merged both functions.