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

Summary: Generated Java comment in JAX-RS Resource file is wrong
Product: webservices Reporter: realsoft <realsoft>
Component: RESTAssignee: Jan Stola <jstola>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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