Browse Source

using external deprecated method to get warning

tags/V_1_1_b5
jhugunin 21 years ago
parent
commit
c3002200ca
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tests/options/WarnDeprecated.java

+ 2
- 2
tests/options/WarnDeprecated.java View 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
}
}
}

Loading…
Cancel
Save