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
If the list of long numbers passed to the + doEncode(long...) : Hashid method contains a negative value a java.lang.IllegalArgumentException ("Number out of range") exception will be thrown. The original implementation behaviour is to return an empty string.
Should the library also return an empty list (Hashid.EMPTY) or leave the behaviour as it is for a better exception management?
The text was updated successfully, but these errors were encountered:
If the list oflong
numbers passed to the+ doEncode(long...) : Hashid
method contains a negative value ajava.lang.IllegalArgumentException
("Number out of range") exception will be thrown.The original implementation behaviour is to return an empty string.
Should the library also return an empty list (
Hashid.EMPTY
) or leave the behaviour as it is for a better exception management?The text was updated successfully, but these errors were encountered: