You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/10/22 15:51:00 UTC

[jira] [Commented] (SLING-9851) Duplicate null annotations exposed in Javadoc

    [ https://issues.apache.org/jira/browse/SLING-9851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17219120#comment-17219120 ] 

Konrad Windszus commented on SLING-9851:
----------------------------------------

Although nasty, this may actually be desired behaviour: https://github.com/JetBrains/java-annotations/issues/35

> Duplicate null annotations exposed in Javadoc
> ---------------------------------------------
>
>                 Key: SLING-9851
>                 URL: https://issues.apache.org/jira/browse/SLING-9851
>             Project: Sling
>          Issue Type: Bug
>          Components: General
>            Reporter: Konrad Windszus
>            Priority: Major
>
> The javadoc of Sling 11 exposes duplicate null annotations for both return values and method arguments, e.g. in https://sling.apache.org/apidocs/sling11/org/apache/sling/api/resource/ResourceResolver.html#map-javax.servlet.http.HttpServletRequest-java.lang.String-.
> Since Sling 10 does not expose such behaviour (https://sling.apache.org/apidocs/sling10/org/apache/sling/api/resource/ResourceResolver.html#map-javax.servlet.http.HttpServletRequest-java.lang.String-) I think this is related to the switch to Jetbrains annotations in https://issues.apache.org/jira/browse/SLING-7798.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)