Refactoring: Remove unnecessary null check.
authorminkee.lee <minkee.lee@samsung.com>
Thu, 15 Jan 2015 02:24:57 +0000 (11:24 +0900)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Wed, 28 Jan 2015 05:27:40 +0000 (14:27 +0900)
Change-Id: I54cb2fe617a6c905afecf40e79607283b947fc8f
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
common-project/src/org/tizen/emulator/manager/ui/detail/item/property/ProcessorViewItem.java

index 12e89a3..e18a873 100644 (file)
@@ -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()) {