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 73498 - put () after annotations so that the code is formated correctly
Summary: put () after annotations so that the code is formated correctly
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 19:14 UTC by Pavel Buzek
Modified: 2006-03-21 16:25 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 Pavel Buzek 2006-03-10 19:14:36 UTC
Create a new session bean - the code is formated like:
@Stateless()
public class NewSessionBean implements sdf.NewSessionLocal {
    
}

Create new WS, the code is formated like:
@WebService
        public class Calculator {
    
    /**
     * @param param
     * @return string value
     */
    @WebMethod
            public String operation(String param) {

This is bcs you do not have () after annotations.
I know this is a workaround for a javacore issue, but the issues is not going
away so you better use the workaround.
Comment 1 Lukas Jungmann 2006-03-11 16:37:21 UTC
Referenced issue is issue #55644 currently P2 with 7 duplicates.
Comment 2 Radko Najman 2006-03-15 15:22:44 UTC
Fixed.

Checking in WebService.template;
/cvs/websvc/dev/src/org/netbeans/modules/websvc/dev/resources/Attic/WebService.template,v
 <--  WebService.template
new revision: 1.1.2.3; previous revision: 1.1.2.2
Comment 3 Radko Najman 2006-03-20 08:31:11 UTC
*** Issue 72846 has been marked as a duplicate of this issue. ***
Comment 4 Lukas Jungmann 2006-03-21 16:25:11 UTC
v., braces are there