The check on page 42 is about the "values", so the input param 😉
The null check assumes that "values" can be null. If it is null you will get a NullPointerException before this check takes place because of the call Arrays.asList(). Simply putting the first statement in the if-body will solve the problem.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CA%2Bh_a83PsUXwty03tr6KEg0c7FCEbokjtroXqEu%3DgMqc%2B7kf_w%40mail.gmail.com.
No comments:
Post a Comment