Lines 2199-2204
Link Here
|
2199 |
disableWarnings(); |
2199 |
disableWarnings(); |
2200 |
continue; |
2200 |
continue; |
2201 |
} |
2201 |
} |
|
|
2202 |
if (length == 9 && warningOption.equals("-warn:all")) { //$NON-NLS-1$ |
2203 |
enableAllWarnings(); |
2204 |
continue; |
2205 |
} |
2202 |
if (length <= 6) { |
2206 |
if (length <= 6) { |
2203 |
throw new IllegalArgumentException( |
2207 |
throw new IllegalArgumentException( |
2204 |
this.bind("configure.invalidWarningConfiguration", warningOption)); //$NON-NLS-1$ |
2208 |
this.bind("configure.invalidWarningConfiguration", warningOption)); //$NON-NLS-1$ |
Lines 2838-2843
Link Here
|
2838 |
} |
2842 |
} |
2839 |
this.options.put(CompilerOptions.OPTION_TaskTags, Util.EMPTY_STRING); |
2843 |
this.options.put(CompilerOptions.OPTION_TaskTags, Util.EMPTY_STRING); |
2840 |
} |
2844 |
} |
|
|
2845 |
protected void enableAllWarnings() { |
2846 |
Object[] entries = this.options.entrySet().toArray(); |
2847 |
for (int i = 0, max = entries.length; i < max; i++) { |
2848 |
Map.Entry entry = (Map.Entry) entries[i]; |
2849 |
if (!(entry.getKey() instanceof String)) |
2850 |
continue; |
2851 |
if (!(entry.getValue() instanceof String)) |
2852 |
continue; |
2853 |
if (((String) entry.getValue()).equals(CompilerOptions.IGNORE)) { |
2854 |
this.options.put(entry.getKey(), CompilerOptions.WARNING); |
2855 |
} |
2856 |
} |
2857 |
this.options.put(CompilerOptions.OPTION_TaskTags, Util.EMPTY_STRING); |
2858 |
} |
2841 |
protected void disableErrors() { |
2859 |
protected void disableErrors() { |
2842 |
Object[] entries = this.options.entrySet().toArray(); |
2860 |
Object[] entries = this.options.entrySet().toArray(); |
2843 |
for (int i = 0, max = entries.length; i < max; i++) { |
2861 |
for (int i = 0, max = entries.length; i < max; i++) { |