diff options
author | jhugunin <jhugunin> | 2002-12-19 22:43:10 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2002-12-19 22:43:10 +0000 |
commit | c3002200cae795108f88fd5f7949dfa6f31a1616 (patch) | |
tree | 694c77dd36f9e31d579b5745c6bb5a448cc6bcd0 /tests/options | |
parent | 12955353e3df181ab99a2f8c86212730cb1bcaf9 (diff) | |
download | aspectj-c3002200cae795108f88fd5f7949dfa6f31a1616.tar.gz aspectj-c3002200cae795108f88fd5f7949dfa6f31a1616.zip |
using external deprecated method to get warning
Diffstat (limited to 'tests/options')
-rw-r--r-- | tests/options/WarnDeprecated.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/options/WarnDeprecated.java b/tests/options/WarnDeprecated.java index 2d0d928a7..e86b79522 100644 --- a/tests/options/WarnDeprecated.java +++ b/tests/options/WarnDeprecated.java @@ -4,10 +4,10 @@ public class WarnDeprecated { - /** @deprecated */ + /** */ public static void main(String[] args) { if (null == args) { - main(new String[0]); // CE 10 deprecated if warn:deprecated + String s = new String(new byte[] {}, 0); // CE 10 deprecated if warn:deprecated } } } |