Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blewitt2015-09-07 14:29:15 -0400
committerAlex Blewitt2015-09-07 17:27:28 -0400
commit368177ac20c448cd2e6d7d5f2d983c9734b14a49 (patch)
tree456bdbb97859939b0467d44776ccc4da8b36d20a /org.eclipse.debug.tests
parent9d920dc184c0ea2271a9f088d1af6f52df1b4eed (diff)
downloadeclipse.platform.debug-368177ac20c448cd2e6d7d5f2d983c9734b14a49.tar.gz
eclipse.platform.debug-368177ac20c448cd2e6d7d5f2d983c9734b14a49.tar.xz
eclipse.platform.debug-368177ac20c448cd2e6d7d5f2d983c9734b14a49.zip
Bug 476814 - Replace Boolean.valueOf(true) and (false)
References to Boolean.valueOf(true) and Boolean.valueOf(false) can be converted to constant references Boolean.TRUE and Boolean.FALSE. Change-Id: I075a579f65e9a5fefdfa2824bf284d6f2490d6fc Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
Diffstat (limited to 'org.eclipse.debug.tests')
-rw-r--r--org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchConfigurationTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchConfigurationTests.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchConfigurationTests.java
index 72274fc4f..065ffa2b3 100644
--- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchConfigurationTests.java
+++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchConfigurationTests.java
@@ -355,8 +355,8 @@ public class LaunchConfigurationTests extends AbstractLaunchTest implements ILau
// retrieve attributes
assertEquals("String1 should be String1", "String1", attributes.get("String1")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
assertEquals("Int1 should be 1", new Integer(1), attributes.get("Int1")); //$NON-NLS-1$ //$NON-NLS-2$
- assertEquals("Boolean1 should be true", Boolean.valueOf(true), attributes.get("Boolean1")); //$NON-NLS-1$ //$NON-NLS-2$
- assertEquals("Boolean2 should be false", Boolean.valueOf(false), attributes.get("Boolean2")); //$NON-NLS-1$ //$NON-NLS-2$
+ assertEquals("Boolean1 should be true", Boolean.TRUE, attributes.get("Boolean1")); //$NON-NLS-1$ //$NON-NLS-2$
+ assertEquals("Boolean2 should be false", Boolean.FALSE, attributes.get("Boolean2")); //$NON-NLS-1$ //$NON-NLS-2$
// cleanup
handle.delete();

Back to the top