You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect Range.Long.max to throw java.util.NoSuchElementException to be consistent with Range.Long.min and Range.max instead of returning a wrong value.
Since you wrote on Gitter you'd like to work on this: it'd be great, if you can, to also add some testcases at least for this behavior (possibly applying to both sort of ranges?). But a patch would already help.
I expect
Range.Long.max
to throw java.util.NoSuchElementException to be consistent withRange.Long.min
andRange.max
instead of returning a wrong value.More examples here https://gist.github.com/tabdulradi/b3ff116032f2eb16aedf077d8e5f8427
The text was updated successfully, but these errors were encountered: