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 245875 - Add javadoc breaks indentation if there is line comment
Summary: Add javadoc breaks indentation if there is line comment
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 12:58 UTC by Jiri Prox
Modified: 2014-08-10 01:51 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 2014-07-22 12:58:35 UTC
Add javadoc hint breaks indentation if there is line comment before the method

    //line
    protected void method2() {} //Hint: create missing javadoc for method2

-> apply add javadoc

    //line

    /**
     *
     */
        protected void method2() {} //Hint: create missing javadoc for method2



Product Version: NetBeans IDE Dev (Build 20140721-396696a6b68a)
Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Svata Dedic 2014-08-08 08:02:34 UTC
Fixed in jet-main#05581a505812
Comment 2 Quality Engineering 2014-08-10 01:51:02 UTC
Integrated into 'main-silver', will be available in build *201408100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/05581a505812
User: Svata Dedic <sdedic@netbeans.org>
Log: #245875: avoid double trailing whitespace when adding javadoc to existing tree