Sponge icon indicating copy to clipboard operation
Sponge copied to clipboard

Replace Preconditions.checkState with if check

Open ImMorpheus opened this issue 11 months ago • 2 comments

get rid of guava checkstate preconditions and use stdlib function

ImMorpheus avatar Mar 05 '24 20:03 ImMorpheus

I'd prefer one-liners for those checks

Faithcaio avatar Mar 05 '24 21:03 Faithcaio

It would be great if the JDK included these one-liners. This is the approach the .NET has taken and it has added these one-liners in the BCL itself.

aromaa avatar Mar 05 '24 21:03 aromaa