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 226104 - [73cat] misleading "not used" message
Summary: [73cat] misleading "not used" message
Status: RESOLVED DUPLICATE of bug 176240
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-14 10:02 UTC by muellermi
Modified: 2013-02-14 12:28 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 muellermi 2013-02-14 10:02:07 UTC
Product Version = NetBeans IDE 7.3 (Build 201302062200)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.7.0_13
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

Suppose you have a method, which is annotated to be called in a defined  lifecycle phase, e.g.

    @PrePersist
    @PreUpdate
    private void prepareSave() {
        [...]
    }

Even though such methods are really used, NetBeans alerts "Method XXX is not used"
Comment 1 Jan Lahoda 2013-02-14 12:28:36 UTC

*** This bug has been marked as a duplicate of bug 176240 ***