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.
Summary: | SourceElement generates ugly formated code | ||
---|---|---|---|
Product: | java | Reporter: | ehucka <ehucka> |
Component: | Unsupported | Assignee: | Daniel Prusa <dprusa> |
Status: | CLOSED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ehucka
2004-06-07 14:08:14 UTC
Sorry, I cannot reproduce it. If I create a class from template, and a I add several methods, I have pretty formated code: public class ffff { /** Creates a new instance of ffff */ public ffff() { } public void newMethod() { } public final class InnerClass { } } If it happens to you in some tests, please attach these unit tests. See ref files of java test suites in org.netbeans.test.java.generating package. (Java module functional tests). Try to generate this: public class ffff { /** Creates a new instance of ffff */ public ffff() { } public void newMethod() { } class InnerClass { public void innerMethod() { } } } it seems it is right now, i'm closing it as worksforme verified Reorganization of java component |