[Title] binary settings auto save fixed
authorjooyoul_lee <jy.exe.lee@samsung.com>
Fri, 10 Jan 2014 07:55:27 +0000 (16:55 +0900)
committerjooyoul_lee <jy.exe.lee@samsung.com>
Fri, 10 Jan 2014 07:55:27 +0000 (16:55 +0900)
[Desc.]
[Issue]

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingData.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/BinarySettingManager.java

index 6098072..8cbfcde 100644 (file)
@@ -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]);
                }
index f740bf8..594c05c 100644 (file)
@@ -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 {