← Prev in month ← Prev in thread
Next in thread → Next in month →

NEW ISSUE: Incorrect examples of methods annotated @Init and @Destroy

From
C Vamsi <>
Date
2008-04-28T19:37:03+00:00
ID
Thread
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
← Prev in month ← Prev in thread
Next in thread → Next in month →