[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]