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 133129 - Find Usages can't find GetName() at 79 line in quote.cc
Summary: Find Usages can't find GetName() at 79 line in quote.cc
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on: 136146
Blocks:
  Show dependency tree
 
Reported: 2008-04-17 16:11 UTC by dnikitin
Modified: 2008-06-27 16:33 UTC (History)
0 users

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 dnikitin 2008-04-17 16:12:02 UTC
Product Version: NetBeans IDE 6.1 RC2 (Build 200804170002)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
-----------------------------------------------------------------

-- open Quote project
-- open customer.cc, select GetName() at 53 line and invoke Find Usages

Find Usages can't find usages of GetName() at 79 line in quote.cc

----quote.cc---------
 int getDiscountFor(string name) {
        for(list<Customer>::iterator it = customers.begin(); it != customers.end(); ++it) {
            if ((*it).GetName() == name) {   // <== here
                return (*it).GetDiscount();
            }
        }
    
        return -1;
    }
---------------------
Comment 1 Vladimir Voskresensky 2008-04-18 09:46:36 UTC
thanks, it's problem of templates support and may be duplicate of http://www.netbeans.org/issues/show_bug.cgi?id=103462
Comment 2 Alexander Simon 2008-06-24 09:14:12 UTC
fixed:
http://hg.netbeans.org/main/rev/e8248daa6605
Comment 3 dnikitin 2008-06-27 14:45:13 UTC
Verified in NB6.5 M1
Comment 4 Quality Engineering 2008-06-27 16:33:35 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
Changeset: http://hg.netbeans.org/main/rev/e8248daa6605
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed: IZ#133129:Find Usages can't find GetName() at 79 line in quote.cc