+1 from me. But since we are JDK8 based, how about using Optional for "optional" parameters and "nothing" for required ones?
On Fri, Oct 30, 2015 at 10:08 AM, Tristan Tarrant <[email protected]> wrote: > During the review of [1] both Pedro and Will asked about whether a field > could be null or not and I really wished I could use some kind of > @NotNull annotation to clarify that. We already have findbugs included > in our maven reports so what do you all think if we adopt those > annotations just like we already do for the jcip ones ? > > Tristan > > > [1] https://github.com/infinispan/infinispan/pull/3726 > -- > Tristan Tarrant > Infinispan Lead > JBoss, a division of Red Hat > _______________________________________________ > infinispan-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/infinispan-dev >
_______________________________________________ infinispan-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/infinispan-dev
