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
Currently, the getInt() method returns -1 if no records were found, This is potentially a valid value. This should probably return something like Integer.MIN_VALUE instead.
The text was updated successfully, but these errors were encountered:
Upon further consideration, this should probably throw an IllegalStateException, as this should be considered an exceptional result. Same holds true for the getString() methods. Returning null isn't terribly informative, and potentially harmful to the client (i.e. - NullPointerException).
Uh oh!
There was an error while loading. Please reload this page.
Currently, the
getInt()
method returns -1 if no records were found, This is potentially a valid value. This should probably return something likeInteger.MIN_VALUE
instead.The text was updated successfully, but these errors were encountered: