From: minkee.lee Date: Mon, 12 Jan 2015 02:51:53 +0000 (+0900) Subject: Refactoring: Added null check. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c84a7fb0cef85642ec7f91920e9f4fb8eb54f935;p=sdk%2Femulator%2Femulator-manager.git Refactoring: Added null check. Change-Id: I7ba0fa681e875db63fa2b1a25581b78b1c4fdbd0 Signed-off-by: minkee.lee --- diff --git a/common-project/src/org/tizen/emulator/manager/ui/detail/item/template/CheckLabelViewItem.java b/common-project/src/org/tizen/emulator/manager/ui/detail/item/template/CheckLabelViewItem.java index 8562d6c..16b16d3 100644 --- a/common-project/src/org/tizen/emulator/manager/ui/detail/item/template/CheckLabelViewItem.java +++ b/common-project/src/org/tizen/emulator/manager/ui/detail/item/template/CheckLabelViewItem.java @@ -57,7 +57,9 @@ public class CheckLabelViewItem extends LabelViewItem { super(template, lineLabelViewItem); TITLE_WIDTH = 60; // override parseOption(template.getOption()); - lineLabelViewItem.addItem(name, this); + if (lineLabelViewItem != null) { + lineLabelViewItem.addItem(name, this); + } } protected void parseOption(List