Hi Angela,
regarding Null annotation look at 
https://sling.apache.org/documentation/development/null-analysis.html 
<https://sling.apache.org/documentation/development/null-analysis.html>. We use 
the same annotations as Jackrabbit now.
Thanks,
Konrad

> On 12. Nov 2019, at 09:56, Angela Schreiber <[email protected]> wrote:
> 
> hi sling devs
> 
> when writing patches for the repo init recently, i noticed that there is some 
> inconsistency in the formatting and that the code doesn't come with 
> notnull/nullable annotations, which leads to a quite some extra checks for 
> null, though the input will never be null.
> 
> having said that: is there an official coding style that i should follow when 
> fixing the formatting inconsistencies? are notnull/nullable annotiations 
> being used in the sling project?
> 
> kind regards
> angela

Reply via email to