This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 201674 - Javadoc is deleted by reformat action
Summary: Javadoc is deleted by reformat action
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Other
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 11:39 UTC by Jiri Prox
Modified: 2011-09-13 16:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2011-09-06 11:39:12 UTC
Javadoc is deleted by reformat action.
If javadoc formatting setting there are all check boxes unchecked, except the first one (Format javadoc) 

Input code:
public class NewClass<T> {

    /**
     * Hello this is comment <b>very</b> long comment comment comment comment comment
     *
     * @param <S> Parameter
     * @param in Input
     * @param aaa Variable length argument
     * @return Something
     * @throws IOException error in the code
     */
    public <S> S neco(S in, String... aaa) throws IOException {
        return in;
    }
}

output:
public class NewClass<T> {

        @throws IOException error in the code
     */
    public <S> S neco(S in, String... aaa) throws IOException {
        return in;
    }
}
Comment 1 Dusan Balek 2011-09-12 16:39:40 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/a47cac7af0e2
Comment 2 Quality Engineering 2011-09-13 16:08:42 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a47cac7af0e2
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #201674: Javadoc is deleted by reformat action - fixed.