I think a good practice is to always take care of null objects and list your
self. You never know when or if the implementation might change.
--
View this message in context:
http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp17315359p17330046.html
Sent from the Wicket - User
---
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp173153
View this message in context:
http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp17315359p17322053.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
el it checks if the object
is null and throws a IllegalArgumentException.
Is a really null?
--
View this message in context:
http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp17315359p17316687.html
Sent from the Wicket - User mailing list archiv
What I meant in my first post, is since I don't get a NPE in that case, I
was thinking that Wicket shouldn't throw a IOOBE in the case of an
inexisting position in my List: according to me Wicket should handle it.
Am i wrong ?
Yes, you are wrong. It's bad practice to refer to a location in
ains any elements.
>
--
View this message in context:
http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp17315359p17316664.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe,
with hibernate you will get an empty
list. But doens't contains any elements.
--
View this message in context:
http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp17315359p17316645.html
Sent from the Wicket - User mailing list archive at
s it a wanted behavior or not (or a mistake from me)
thank you
--
View this message in context:
http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp17315359p17315359.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-