Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Montplaisir2014-09-16 14:58:45 -0400
committerAlexandre Montplaisir2014-09-16 19:04:52 -0400
commite6dd5a040719ef9eff19e67f6b38ec642619a1ba (patch)
tree3ce3bae35c3cc203758ebcb03476cb6e281f5e29 /lttng/org.eclipse.linuxtools.lttng2.kernel.ui.tests
parentfce9074795e7473856d6eb24231a685a85d6c5e6 (diff)
downloadorg.eclipse.linuxtools-e6dd5a040719ef9eff19e67f6b38ec642619a1ba.tar.gz
org.eclipse.linuxtools-e6dd5a040719ef9eff19e67f6b38ec642619a1ba.tar.xz
org.eclipse.linuxtools-e6dd5a040719ef9eff19e67f6b38ec642619a1ba.zip
lttng: Disable "Value of parameter is not used" warning
Recent versions of JDT in Eclipse 4.5 now include exception parameters in the "value of parameter is not used" setting. This throws upwards of 400 errors with our current settings. Bug #439750 explains the problem. Bug #441933 tracks the addition of a new UI preference to handle exception parameters separately from method parameters. For now, we can set the setting to Ignore to make Eclipse integration builds useable. Once the two bugs above are fixed, we can revert this commit. Change-Id: I5db6322eb6d7ae3c2bb98ee983d0824e0e8fc9e2 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/33469 Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Diffstat (limited to 'lttng/org.eclipse.linuxtools.lttng2.kernel.ui.tests')
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.kernel.ui.tests/.settings/org.eclipse.jdt.core.prefs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng2.kernel.ui.tests/.settings/org.eclipse.jdt.core.prefs b/lttng/org.eclipse.linuxtools.lttng2.kernel.ui.tests/.settings/org.eclipse.jdt.core.prefs
index 8cf4cd486e..f3fc64575b 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.kernel.ui.tests/.settings/org.eclipse.jdt.core.prefs
+++ b/lttng/org.eclipse.linuxtools.lttng2.kernel.ui.tests/.settings/org.eclipse.jdt.core.prefs
@@ -102,7 +102,7 @@ org.eclipse.jdt.core.compiler.problem.unusedImport=error
org.eclipse.jdt.core.compiler.problem.unusedLabel=error
org.eclipse.jdt.core.compiler.problem.unusedLocal=error
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameter=error
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled

Back to the top