diff options
author | Tor Norbye <tnorbye@google.com> | 2012-10-26 08:21:09 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-10-26 08:21:09 -0700 |
commit | 1c811c9bbfd08e511ccd95cddbee5f6b857f4d3e (patch) | |
tree | e47b29603cb982a73c8a5d83ac37543d398db24e /lint/cli | |
parent | 4705a1897de795f5b969b3807231be6b205ef7e3 (diff) | |
download | sdk-1c811c9bbfd08e511ccd95cddbee5f6b857f4d3e.zip sdk-1c811c9bbfd08e511ccd95cddbee5f6b857f4d3e.tar.gz sdk-1c811c9bbfd08e511ccd95cddbee5f6b857f4d3e.tar.bz2 |
Update compiler flags.
Turns off the ability to use @SuppressWarnings with optional
errors is available, but off by default (see Eclipse issue 392875).
This turns that off, makes missing enums in switch statements a
warning, and synchronizes the settings file to all projects (except
tests.)
Change-Id: Iad7060523b6ee2cbbca97e0a6ffedb264b185222
Diffstat (limited to 'lint/cli')
-rw-r--r-- | lint/cli/.settings/org.eclipse.jdt.core.prefs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lint/cli/.settings/org.eclipse.jdt.core.prefs b/lint/cli/.settings/org.eclipse.jdt.core.prefs index d11c211..9dbff07 100644 --- a/lint/cli/.settings/org.eclipse.jdt.core.prefs +++ b/lint/cli/.settings/org.eclipse.jdt.core.prefs @@ -33,7 +33,7 @@ org.eclipse.jdt.core.compiler.problem.forbiddenReference=error org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=enabled org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning @@ -68,7 +68,7 @@ org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=enabled org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning |