From: minkee.lee Date: Thu, 15 Jan 2015 02:24:57 +0000 (+0900) Subject: Refactoring: Remove unnecessary null check. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d69b9443660f8820c90239e136c6cf0309edcce6;p=sdk%2Femulator%2Femulator-manager.git Refactoring: Remove unnecessary null check. Change-Id: I54cb2fe617a6c905afecf40e79607283b947fc8f Signed-off-by: minkee.lee --- diff --git a/common-project/src/org/tizen/emulator/manager/ui/detail/item/property/ProcessorViewItem.java b/common-project/src/org/tizen/emulator/manager/ui/detail/item/property/ProcessorViewItem.java index 12e89a3..e18a873 100644 --- a/common-project/src/org/tizen/emulator/manager/ui/detail/item/property/ProcessorViewItem.java +++ b/common-project/src/org/tizen/emulator/manager/ui/detail/item/property/ProcessorViewItem.java @@ -106,13 +106,10 @@ public class ProcessorViewItem extends ComboViewItem { newValue = getItemValue(value); // makeComboBox - if (comboOptions != null) { - if (combo != null) { - combo.removeAll(); - } - for(String option : comboOptions) { - combo.add(option); - } + combo.removeAll(); + + for(String option : comboOptions) { + combo.add(option); } if (isCreateMode()) {