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 152707 - "Introduce method", when returning the error "too many return values", should list what those return values are.
Summary: "Introduce method", when returning the error "too many return values", should...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 17:01 UTC by jnicol
Modified: 2013-09-02 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jnicol 2008-11-07 17:01:27 UTC
When using "Introduce new method", Netbeans will return an error "too many return values" if the highlighted lines have
more than one return value.

In a complex method, it is very hard to determine what return values Netbeans thinks the method would have.  It would be
nice if it indicated to the user what return values the hypothetical method would use.