Re: Adding @Nonnull annotations to EnforcerRule

2015-02-28 Thread Baptiste Mathus
Hi, I went ahead and filed https://jira.codehaus.org/browse/MENFORCER-227 and attached the associated ~5 lines patch. For reference I used the dependency mentioned by Kristian here http://mail-archives.apache.org/mod_mbox/maven-dev/201409.mbox/%3CCAJZRQKyicOyE-W57cuUnFnFzvihZyhDqCx0TGpDy-i=olx2...

Adding @Nonnull annotations to EnforcerRule

2015-02-20 Thread Baptiste Mathus
Hi guys, Just tried on IRC without much success. Using JSR305 annotations on some internal enforcer rules, we encounter some issue like for example the checker thinking the helper reference could be passed null in the execute method [1]. It would help to declare it like this instead: void execut