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 85951 - Extra parens should not be generated
Summary: Extra parens should not be generated
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks: 87136
  Show dependency tree
 
Reported: 2006-09-27 18:56 UTC by Petr Hrebejk
Modified: 2007-01-17 10:09 UTC (History)
1 user (show)

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 Petr Hrebejk 2006-09-27 18:56:16 UTC
Say that I have:
if (foo.isSomething()) {

I mistyped the method name. I go to the . and press ctrl-space and select the
right method with code completion. I get

if (foo.isSomething()()) {

The fact that the ()'s are already there and balanced should be handled, and
extra ()'s should not be generated.
Comment 1 Dusan Balek 2006-10-12 14:23:04 UTC
Should be already fixed.