Jin Xu created MJAVADOC-659:
-------------------------------

             Summary: found a bug about changing exception discribtion when 
using "fix".
                 Key: MJAVADOC-659
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-659
             Project: Maven Javadoc Plugin
          Issue Type: Bug
          Components: fix
            Reporter: Jin Xu


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.3.4#803005)

Reply via email to