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
As per Effective Java, builder should throw IllegalStateException if trying to
build a DTO without all required valid properties. Also, conceptually speaking
it makes more sense to throw this exception instead of NPE.
Implementation should be just to replace checkNotNull method with checkState
methods.
Original issue reported on code.google.com by [email protected] on 21 Sep 2014 at 6:48
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 21 Sep 2014 at 6:48The text was updated successfully, but these errors were encountered: