OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: ISSUE 42: Incorrect examples of methods annotated @Init and @Destroy


 
http://www.osoa.org/jira/browse/JAVA-42

-----Ursprüngliche Nachricht-----
Von: C Vamsi [mailto:vamsic007@in.ibm.com] 
Gesendet: Montag, 28. April 2008 12:36
An: sca-j@lists.oasis-open.org
Betreff: [sca-j] NEW ISSUE: Incorrect examples of methods annotated @Init and @Destroy


DESCRIPTION:
Java Common Annotations and APIs v1.0

Sec 1.8.8 - Line 1232
1232 void myDestroyMethod() {

Sec 1.8.11 - Line 1298
1298 void myInitMethod() {

Reason: @Destroy and @Init annotations must be on a public method

PROPOSAL: add public keyword to the method definition so that it reads
1232 public void myDestroyMethod() {
1298 public void myInitMethod() {

See http://lists.oasis-open.org/archives/sca-j/200804/msg00054.html

++Vamsi


---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  You may a link to this group and all your TCs in OASIS
at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]