]> source.dussan.org Git - aspectj.git/commitdiff
using external deprecated method to get warning
authorjhugunin <jhugunin>
Thu, 19 Dec 2002 22:43:10 +0000 (22:43 +0000)
committerjhugunin <jhugunin>
Thu, 19 Dec 2002 22:43:10 +0000 (22:43 +0000)
tests/options/WarnDeprecated.java

index 2d0d928a782bca2f999a529722a1af9a04e0634b..e86b7952288ead3dbc69794315f45e3fd960c8de 100644 (file)
@@ -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
        }
     }
 }