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

Olivier Lamy commented on MJAVADOC-659:
---------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-javadoc-plugin#1031|https://github.com/apache/maven-javadoc-plugin/issues/1031].
 

> javadoc:fix replaces existing @throws descriptions
> --------------------------------------------------
>
>                 Key: MJAVADOC-659
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-659
>             Project: Maven Javadoc Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: fix
>            Reporter: Jin Xu
>            Assignee: Elliotte Rusty Harold
>            Priority: Major
>             Fix For: 3.3.0
>
>
> original code:
> {code:java}
>     /**
>      * <p>testException.</p>
>      *
>      * @throws java.lang.Exception when reader.read get wrong.
>      */
>     public void testException() throws Exception {
>         throw new Exception();
>     }
> {code}
> after we calling fix, it becomes:
> {code:java}
>     /**
>      * <p>testException.</p>
>      *
>      * @throws java.lang.Exception if any.
>      */
>     public void testException() throws Exception {
>         throw new Exception();
>     }
> {code}
> So why must I use "if any", and must change my original words?
> I think this be a bug, but if it is by design, please tell me the reason.



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

Reply via email to