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: | regression? Result of "Surround with try" is different from 5.5.1 | ||
---|---|---|---|
Product: | java | Reporter: | Masaki Katakai <masaki> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jf4jbug |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Masaki Katakai
2007-11-26 03:41:42 UTC
Try "Surround with" for the line " int a = Integer.parseInt("5");" This relates to the Surround with try-catch hint (code template). Fixed. Selection template processing mechanism improved to move used variable declaration outside of blocks. Checking in JavaCodeTemplateProcessor.java; /cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCodeTemplateProcessor.java,v <-- JavaCodeTemplateProcessor.java new revision: 1.20; previous revision: 1.19 done |