aboutsummaryrefslogtreecommitdiffstats
path: root/tests/options/WarnDeprecated.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/options/WarnDeprecated.java')
-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
}
}
}