Browse Source

170102: allow more warnings in <iajc warn= >

tags/Root_extensions
aclement 17 years ago
parent
commit
53366032c9
1 changed files with 23 additions and 2 deletions
  1. 23
    2
      taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java

+ 23
- 2
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java View File

@@ -301,9 +301,30 @@ public class AjcTask extends MatchingTask {
VALID_XOPTIONS = Collections.unmodifiableList(Arrays.asList(xs));

xs = new String[]
{"constructorName", "packageDefaultMethod", "deprecation",
{ "constructorName", "packageDefaultMethod", "deprecation",
"maskedCatchBlocks", "unusedLocals", "unusedArguments",
"unusedImports", "syntheticAccess", "assertIdentifier", "none" };
"unusedImports", "syntheticAccess", "assertIdentifier",
"allDeprecation","allJavadoc","charConcat","conditionAssign",
"emptyBlock",
"fieldHiding",
"finally",
"indirectStatic",
"intfNonInherited",
"javadoc",
"localHiding",
"nls",
"noEffectAssign",
"pkgDefaultMethod",
"semicolon",
"unqualifiedField",
"unusedPrivate",
"unusedThrown",
"uselessTypeCheck",
"specialParamHiding",
"staticReceiver",
"syntheticAccess",
"none" };
VALID_WARNINGS = Collections.unmodifiableList(Arrays.asList(xs));

xs = new String[] {"none", "lines", "vars", "source" };

Loading…
Cancel
Save