News for hackers. Stuff that matters.
Re:This should never happen by jrgv on Thursday March 31, 2016 @12:17PM (#11398275)
I'd prefer to throw an exception in that else block:

    throw new AssertionError("Should never happen");
Re:This should never happen by jdmichal on Thursday March 31, 2016 @01:28PM (#11398905)
I just put a comment as an example. I typically log-and-throw.