summaryrefslogtreecommitdiffstats
path: root/tests/options
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-19 22:43:10 +0000
committerjhugunin <jhugunin>2002-12-19 22:43:10 +0000
commitc3002200cae795108f88fd5f7949dfa6f31a1616 (patch)
tree694c77dd36f9e31d579b5745c6bb5a448cc6bcd0 /tests/options
parent12955353e3df181ab99a2f8c86212730cb1bcaf9 (diff)
downloadaspectj-c3002200cae795108f88fd5f7949dfa6f31a1616.tar.gz
aspectj-c3002200cae795108f88fd5f7949dfa6f31a1616.zip
using external deprecated method to get warning
Diffstat (limited to 'tests/options')
-rw-r--r--tests/options/WarnDeprecated.java4
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
}
}
}