on 08-06-2008 1:01 PM
Hi experts,
i have the following question.
How can i make in web dynpro any method (e.g. interface method) deprecated. So if i try to use it, a warning appears. I have already tried to do it with @depricated javadoc Tag , but it's not working.
Have you any ideas?Could you help?
Thank u in advance!
Kind regards,
Daria
Hi,
Following is the way to do it
//@@begin javadoc:test()
/**
* Method declared by application.
* @deprecated This is a sample to depricate a method.
*/
//@@end
public void test( ) {
//@@begin test()
//@@end
}
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ayyapparaj,
thank you for your answer.
But as i mentioned i have already tried this way. What i have also found out now:
If i call this way deprecated method using this.method() i got a warning that method is deprecated.
But if i use wdThis.controllerName().method()(what i actaully need) there is no information that method is deprecated.
Thank you!
Best regards,
Daria
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.