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 128964 - Beaninfo is poorly formated
Summary: Beaninfo is poorly formated
Status: VERIFIED DUPLICATE of bug 68819
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-03 08:20 UTC by Jiri Prox
Modified: 2009-01-13 16:39 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 2008-03-03 08:20:36 UTC
Product Version: NetBeans IDE Dev (Build 20080303052843)
Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)


Beaninfo is poorly formated, it does not respect event the default formatting settings. It's in guarded block, so
reformat action won't help.

private static BeanDescriptor getBdescriptor(){
    BeanDescriptor beanDescriptor = new BeanDescriptor  ( test.NewClass.class , null ); // NOI18N                      
             
                                                       ^-- too many spaces
     // Here you can add code for customizing the BeanDescriptor.

     return beanDescriptor;     }    
                                ^--- '}' should be on new line
Comment 1 Jan Pokorsky 2008-03-17 15:34:34 UTC
This will require a larger rewrite. The present analyzer parses java code as fixed text. It would be necessary to use
javac API as the parser. It is too late for 6.1.
Comment 2 Jan Becicka 2008-08-11 13:55:24 UTC

*** This issue has been marked as a duplicate of 68819 ***
Comment 3 Jiri Prox 2009-01-13 16:39:25 UTC
v.