#177667: Code completion adds block with param

Erno Mononen <[email protected]>
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
Please review the fix for 
https://netbeans.org/bugzilla/show_bug.cgi?id=177667

Description: Invoking CC for certain methods adds an unwanted block

Cause: The code for analyzing RDoc to determine whether or not a method 
needs a block was looking at the RDoc of the whole class instead of the 
method in question and hence produced erroneous results.

Fix: Changed the code to look at the the rdoc of the method. A trivial 
and safe change.

Verified in trunk by Tomas Musil.

Thanks
Erno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.