From: jooyoul_lee Date: Fri, 10 Jan 2014 07:55:27 +0000 (+0900) Subject: [Title] binary settings auto save fixed X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5ffcef003dd44d13bc84ea69b67c6411c2b660f;p=sdk%2Ftools%2Fdynamic-analyzer.git [Title] binary settings auto save fixed [Desc.] [Issue] --- diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingData.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingData.java index 6098072..8cbfcde 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingData.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingData.java @@ -74,7 +74,7 @@ public class BinarySettingData { // index 3 : debug file path if (null == debugFilePath) { - strBuffer.append(CommonConstants.EMPTY); + strBuffer.append(CommonConstants.SPACE); } else { strBuffer.append(debugFilePath); } @@ -82,7 +82,7 @@ public class BinarySettingData { // index 4 : user source path if (null == userSourcePath) { - strBuffer.append(CommonConstants.EMPTY); + strBuffer.append(CommonConstants.SPACE); } else { strBuffer.append(userSourcePath); } @@ -96,7 +96,7 @@ public class BinarySettingData { setBinaryPath(splitContent[0]); setDebugSourcePath(splitContent[1]); setDebugRpmPath(splitContent[2]); - setDebugFilePath(splitContent[3]); + setDebugFilePath(splitContent[3]); if (splitContent.length >= 5) { setUserSourcePath(splitContent[4]); } diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingManager.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingManager.java index f740bf8..594c05c 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingManager.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingManager.java @@ -427,7 +427,7 @@ public class BinarySettingManager { BinarySettingManager.getInstance().putRealBinarySettingData( binarySettings); } catch (FileNotFoundException e) { - e.printStackTrace(); + System.out.println("BinarySettings.save file is not exist - normal operation"); } catch (IOException e) { e.printStackTrace(); } finally {