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 229302 - editor hint generator uses old API
Summary: editor hint generator uses old API
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: WebSocket (show other bugs)
Version: 7.3.1
Hardware: All All
: P2 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-03 00:52 UTC by David Konecny
Modified: 2013-05-08 02:23 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 David Konecny 2013-05-03 00:52:40 UTC
It generates 

    @javax.websocket.OnSocketError
    public void onError() {
    }

    @javax.websocket.OnSocketClose
    public void onClose() {
    }


instead of

    @javax.websocket.OnError
    public void onError() {
    }

    @javax.websocket.OnClose
    public void onClose() {
    }
Comment 1 David Konecny 2013-05-03 01:05:55 UTC
0924c35abdfe

Btw. any Java class with javax.websocket.server.ServerEndpoint annotation has editor hint to generate one of fours methods if they do not exist yet: onError, onClose, onMessage and onOpen.
Comment 2 Quality Engineering 2013-05-07 00:19:26 UTC
Integrated into 'releases', will be available in build *201305062200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/0924c35abdfe
User: David Konecny <dkonecny@netbeans.org>
Log: #229302 - editor hint generator uses old API
Comment 3 Quality Engineering 2013-05-08 02:23:36 UTC
Integrated into 'main-golden', will be available in build *201305072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/72d8c461867e
User: David Konecny <dkonecny@netbeans.org>
Log: #229302 - editor hint generator uses old API