aboutsummaryrefslogtreecommitdiffstats
path: root/ide_common
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2011-03-16 15:15:34 -0700
committerRaphael Moll <ralf@android.com>2011-03-17 11:30:04 -0700
commitc3478c2a13d1afd5d2d5dae699af55822d391cf8 (patch)
treeeb1879ea22b2e199009f9f83dc7d1ef4a53b6172 /ide_common
parentdfd85c2d3b5698bd8158eb82ff44661f4abfd34c (diff)
downloadsdk-c3478c2a13d1afd5d2d5dae699af55822d391cf8.zip
sdk-c3478c2a13d1afd5d2d5dae699af55822d391cf8.tar.gz
sdk-c3478c2a13d1afd5d2d5dae699af55822d391cf8.tar.bz2
Disable the "unecessary else" warning.
This can be a matter of personal taste, but I find it a lot more readable to write an if {} else {} sometimes, and it's perfectly valid, so really it shouldn't be marked as a warning. Change-Id: Iac1b9bd5f9602b5018f7432422e0a083f4836490
Diffstat (limited to 'ide_common')
-rw-r--r--ide_common/.settings/org.eclipse.jdt.core.prefs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide_common/.settings/org.eclipse.jdt.core.prefs b/ide_common/.settings/org.eclipse.jdt.core.prefs
index 57f3f8e..1cb4685 100644
--- a/ide_common/.settings/org.eclipse.jdt.core.prefs
+++ b/ide_common/.settings/org.eclipse.jdt.core.prefs
@@ -45,7 +45,7 @@ org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning