diff options
author | Alexandre Montplaisir | 2014-05-09 15:37:43 +0000 |
---|---|---|
committer | Alexandre Montplaisir | 2014-06-18 17:52:58 +0000 |
commit | 0f52d4dade220c6c1711bd852e327e2504529525 (patch) | |
tree | 69cfc8243742e57921e0c02aeaabef8e64516819 /lttng/org.eclipse.linuxtools.lttng2.control.ui.tests | |
parent | 1a08e8aa432e6184c9a8929cd86f6a80f866e559 (diff) | |
download | org.eclipse.linuxtools-0f52d4dade220c6c1711bd852e327e2504529525.tar.gz org.eclipse.linuxtools-0f52d4dade220c6c1711bd852e327e2504529525.tar.xz org.eclipse.linuxtools-0f52d4dade220c6c1711bd852e327e2504529525.zip |
lttng: Enable "potential resource leak" warnings
These warnings were disabled, because they often were a bit annoying
to fix with pre-Java 7 syntax. Now that we can use try-with-resources,
those should be as straightforward as the "definite resource leak"
warnings. So we should enable them, and eventually work on fixing them!
Change-Id: Id1b2e63ff6908ca8e34fc07079853922554a0e22
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26305
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
Diffstat (limited to 'lttng/org.eclipse.linuxtools.lttng2.control.ui.tests')
-rw-r--r-- | lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/.settings/org.eclipse.jdt.core.prefs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/.settings/org.eclipse.jdt.core.prefs b/lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/.settings/org.eclipse.jdt.core.prefs index ca28311011..8cf4cd486e 100644 --- a/lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/.settings/org.eclipse.jdt.core.prefs +++ b/lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/.settings/org.eclipse.jdt.core.prefs @@ -71,7 +71,7 @@ org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=error org.eclipse.jdt.core.compiler.problem.parameterAssignment=error org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=error org.eclipse.jdt.core.compiler.problem.potentialNullReference=error -org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning org.eclipse.jdt.core.compiler.problem.rawTypeReference=error org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning org.eclipse.jdt.core.compiler.problem.redundantNullCheck=error |