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 240263 - Generated Java comment in JAX-RS Resource file is wrong
Summary: Generated Java comment in JAX-RS Resource file is wrong
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-11 09:34 UTC by realsoft
Modified: 2015-05-06 02:55 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 realsoft 2014-01-11 09:34:44 UTC
Steps to reproduce:
1. Select the project root node in "Projects" view and push the New File... toolbar button.
2. Select "Web Services / RESTful Web Services from Patterns" and push Next >.
3. Choose "Simple Root Resource" design pattern and push Next >.
    Set:
        "Resource Package": firstcup.webservice
        "Path": dukesAge
        "Class Name": DukesAgeResource
        "MIME Type": text/plain
4. Push the Finish button. 

Result:
Generated comment for "@PUT" method contains wrong "@return" tag
Comment 1 Jan Stola 2015-05-05 13:35:00 UTC
Fixed by https://hg.netbeans.org/web-main/rev/0319016809f5
Comment 2 Quality Engineering 2015-05-06 02:55:31 UTC
Integrated into 'main-silver', will be available in build *201505060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0319016809f5
User: Jan Stola <jstola@netbeans.org>
Log: #240263: Generated Java comment in JAX-RS Resource file is wrong