From: donghyuk.yang Date: Fri, 22 Feb 2013 06:47:46 +0000 (+0900) Subject: [Title] Return null if device execution log is null X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa0a65bcba70c1373de1f46adec73fb8f7025f7d;p=sdk%2Fide%2Fnativeplatform-eplugin.git [Title] Return null if device execution log is null --- diff --git a/org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgmgr/PackageManagerOuputReceiver.java b/org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgmgr/PackageManagerOuputReceiver.java index 45d5a4f..6dd62bd 100644 --- a/org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgmgr/PackageManagerOuputReceiver.java +++ b/org.tizen.nativeplatform/src/org/tizen/nativeplatform/pkgmgr/PackageManagerOuputReceiver.java @@ -77,6 +77,9 @@ public class PackageManagerOuputReceiver extends MultiLineReceiver { } public String[] getLog() { + if (log == null) { + return null; + } return log.toArray(new String[0]); }