You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Marcin Erdmann (Jira)" <ji...@apache.org> on 2022/08/31 08:58:00 UTC

[jira] [Updated] (GROOVY-10737) Groovydoc deprecation list page is always empty even if @deprecated is used in groovydoc comments on some elements

     [ https://issues.apache.org/jira/browse/GROOVY-10737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcin Erdmann updated GROOVY-10737:
------------------------------------
    Description: I believe that this is a regression introduced in [https://github.com/apache/groovy/commit/45e3225485ef44385ff7aa3759c2c63932e088f2|https://github.com/apache/groovy/commit/45e3225485ef44385ff7aa3759c2c63932e088f2.] . In that revision additional quotes were introduced in {{RAW_COMMENT_PATTERN}} which causes {{if(trimmed.equals(rawCommentText)) return;}} in {{org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc.calculateTags()}} to always return and {{SimpleGroovyDoc.deprecated}} to never be set to {{{}true{}}}.  (was: I believe that this is a regression introduced in [https://github.com/apache/groovy/commit/45e3225485ef44385ff7aa3759c2c63932e088f2|https://github.com/apache/groovy/commit/45e3225485ef44385ff7aa3759c2c63932e088f2.]. In that revision additional quotes were introduced in {{RAW_COMMENT_PATTERN}} which causes {{if(trimmed.equals(rawCommentText)) return;}} in {{org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc.calculateTags()}} to always return and {{SimpleGroovyDoc.deprecated}} to never be set to {{{}true{}}}.)

> Groovydoc deprecation list page is always empty even if @deprecated is used in groovydoc comments on some elements
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-10737
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10737
>             Project: Groovy
>          Issue Type: Bug
>          Components: GroovyDoc
>    Affects Versions: 3.0.0-alpha-3, 3.0.12, 4.0.4
>            Reporter: Marcin Erdmann
>            Priority: Major
>
> I believe that this is a regression introduced in [https://github.com/apache/groovy/commit/45e3225485ef44385ff7aa3759c2c63932e088f2|https://github.com/apache/groovy/commit/45e3225485ef44385ff7aa3759c2c63932e088f2.] . In that revision additional quotes were introduced in {{RAW_COMMENT_PATTERN}} which causes {{if(trimmed.equals(rawCommentText)) return;}} in {{org.codehaus.groovy.tools.groovydoc.SimpleGroovyDoc.calculateTags()}} to always return and {{SimpleGroovyDoc.deprecated}} to never be set to {{{}true{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)