UIB : Remove possible error. 47/18347/1
authoryonghwan82.jeon <yonghwan82.jeon@samsung.com>
Fri, 21 Mar 2014 01:36:03 +0000 (10:36 +0900)
committeryonghwan82.jeon <yonghwan82.jeon@samsung.com>
Fri, 21 Mar 2014 01:36:03 +0000 (10:36 +0900)
Add defense code for possible error by static analyzer.

Change-Id: I25a10e973ead7c7e892882397d51ec208580ac46
Signed-off-by: yonghwan82.jeon <yonghwan82.jeon@samsung.com>
org.tizen.webuibuilder/src/org/tizen/webuibuilder/utility/IDEUtil.java

index 85cf6ca..de1b571 100644 (file)
@@ -53,7 +53,7 @@ public class IDEUtil {
         if (window == null) {
             return null;
         }
-        return getActiveWorkbenchWindow().getActivePage();
+        return window.getActivePage();
     }
 
 //    public static void open(final IFile file) {