diff options
author | Alexander Kurtakov | 2017-03-23 07:32:32 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-03-23 08:35:03 +0000 |
commit | 5bec70f68f91fc3ded3f78d6bf28c8d5ddaddf8f (patch) | |
tree | 7e0ad6e90bc0446aec502a793d367b7dd367ee5f /build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal | |
parent | 93623a1a041348bd0ccec8b8d3682448d772705d (diff) | |
download | org.eclipse.cdt-5bec70f68f91fc3ded3f78d6bf28c8d5ddaddf8f.tar.gz org.eclipse.cdt-5bec70f68f91fc3ded3f78d6bf28c8d5ddaddf8f.tar.xz org.eclipse.cdt-5bec70f68f91fc3ded3f78d6bf28c8d5ddaddf8f.zip |
Remove unneeded casts.
Change-Id: Ie506aa209db9be9c56ed8d80c0c97634c6f0cecf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal')
-rw-r--r-- | build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java index 368697c7b85..73939e53ae4 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2016 IBM Corporation and others. + * Copyright (c) 2003, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -254,20 +254,20 @@ public class Option extends BuildObject implements IOption, IBuildPropertiesRest switch (vType) { case BOOLEAN: if (option.value != null) { - value = (Boolean)option.value; + value = option.value; } if (option.defaultValue != null) { - defaultValue = (Boolean)option.defaultValue; + defaultValue = option.defaultValue; } break; case STRING: case ENUMERATED: case TREE: if (option.value != null) { - value = (String)option.value; + value = option.value; } if (option.defaultValue != null) { - defaultValue = (String)option.defaultValue; + defaultValue = option.defaultValue; } break; case STRING_LIST: |