From c84a7fb0cef85642ec7f91920e9f4fb8eb54f935 Mon Sep 17 00:00:00 2001 From: "minkee.lee" Date: Mon, 12 Jan 2015 11:51:53 +0900 Subject: [PATCH] Refactoring: Added null check. Change-Id: I7ba0fa681e875db63fa2b1a25581b78b1c4fdbd0 Signed-off-by: minkee.lee --- .../emulator/manager/ui/detail/item/template/CheckLabelViewItem.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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