sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: JSR 305 annotations (nullability)
Date Tue, 15 May 2018 15:12:08 GMT
On 2018-05-15 16:39, Konrad Windszus wrote:
> There are some ideas in https://issues.apache.org/jira/browse/SLING-7312 <https://issues.apache.org/jira/browse/SLING-7312>
but not yet a solution, as even the proposed alternative spotbugs-annotations is not yet JSR-305
free (which might be problematic from a licensing point of view). But IMHO the spotbugs annotations
are the best alternative: https://github.com/spotbugs/spotbugs/tree/release-3.1/spotbugs-annotations/src/main/java/edu/umd/cs/findbugs/annotations
<https://github.com/spotbugs/spotbugs/tree/release-3.1/spotbugs-annotations/src/main/java/edu/umd/cs/findbugs/annotations>,
because they are not bound to a specific IDE and are still supported by spotbugs/findbugs.
The only thing I am not sure about is whether SonarQube natively supports spotbugs-annotations.
> Konrad

It seems everybody agrees on the goal to move away, however it's not 
clear what to move to (see for instance, 
<https://github.com/google/guava/issues/2960>).

Best regards, Julian


Mime
View raw message