From d69b9443660f8820c90239e136c6cf0309edcce6 Mon Sep 17 00:00:00 2001 From: "minkee.lee" Date: Thu, 15 Jan 2015 11:24:57 +0900 Subject: [PATCH] Refactoring: Remove unnecessary null check. Change-Id: I54cb2fe617a6c905afecf40e79607283b947fc8f Signed-off-by: minkee.lee --- .../manager/ui/detail/item/property/ProcessorViewItem.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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()) { -- 2.7.4