[Title] Source Refactoring
authorphjwithyou.park <phjwithyou.park@samsung.com>
Fri, 17 Aug 2012 08:48:48 +0000 (17:48 +0900)
committerphjwithyou.park <phjwithyou.park@samsung.com>
Fri, 17 Aug 2012 08:48:48 +0000 (17:48 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/ApplicationWorkbenchWindowAdvisor.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/DASingletonFocusManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/IDEConnectorManager.java

index 9f63f7d..dab0100 100755 (executable)
@@ -5,8 +5,9 @@
  *
  * Contact: 
  * Jooyoul Lee <jy.exe.lee@samsung.com>
+ * Hyunjong Park <phjwithyou.park@samsung.com>
  * Juyoung Kim <j0.kim@samsung.com>
- * Hyunjong Pakr <phjwithyou.park@samsung.com>
+ * 
  *
  * This program and the accompanying materials are made available
  * under the terms of the Eclipse Public License v1.0
index 38888a3..97178c9 100644 (file)
@@ -4,7 +4,8 @@
  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
  *
  * Contact: 
- * Hyunjong Pakr <phjwithyou.park@samsung.com>
+ * Hyunjong Park <phjwithyou.park@samsung.com>
+ * Juyoung Kim <j0.kim@samsung.com>
  *
  * This program and the accompanying materials are made available
  * under the terms of the Eclipse Public License v1.0
index cb6da6b..98b8162 100644 (file)
@@ -4,7 +4,8 @@
  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
  *
  * Contact: 
- * Hyunjong Pakr <phjwithyou.park@samsung.com>
+ * Hyunjong Park <phjwithyou.park@samsung.com>
+ * Juyoung Kim <j0.kim@samsung.com>
  *
  * This program and the accompanying materials are made available
  * under the terms of the Eclipse Public License v1.0
@@ -50,18 +51,18 @@ class IDEConnectorAppInfoReceiveThread extends Thread {
        public void run() {
 
                int dataSize = 0;
-               byte arr[] = null;
+               byte receiveArr[] = null;
 
                AnalyzerManager.bIDEConnetedStatus = true;
                
                while (bRunningThread) {
                        try {
-                               arr = new byte[MAXBUFSIZE];
+                               receiveArr = new byte[MAXBUFSIZE];
                                InputStream in = socket.getInputStream();
-                               dataSize = in.read(arr);
+                               dataSize = in.read(receiveArr);
                                if (dataSize > 0) {
 
-                                       String msg = new String(arr);
+                                       String msg = new String(receiveArr);
                                        String[] strMsg = msg.split(" ");
 
                                        IDEConnectorManager.deviceName = strMsg[1];
@@ -70,7 +71,7 @@ class IDEConnectorAppInfoReceiveThread extends Thread {
                                        Display.getDefault().syncExec(new Runnable() {
                                                public void run() {
                                                        IDEConnectorManager
-                                                                       .PopupMessage(AnalyzerLabels.RE_TRACE_FORM_IDE);
+                                                                       .CheckPopupMessage(AnalyzerLabels.RE_TRACE_FORM_IDE);
                                                }
                                        });
                                } else {
@@ -173,10 +174,10 @@ public class IDEConnectorManager {
                                writer.flush();
 
                        } else {
-                               PopupMessage(AnalyzerLabels.VIEW_SOURCE_ERROR_MESSAGE);
+                               CheckPopupMessage(AnalyzerLabels.VIEW_SOURCE_ERROR_MESSAGE);
                        }
                } catch (IOException e) {
-                       PopupMessage(AnalyzerLabels.VIEW_SOURCE_ERROR_MESSAGE);
+                       CheckPopupMessage(AnalyzerLabels.VIEW_SOURCE_ERROR_MESSAGE);
                        e.printStackTrace();
                        bSuccess = false;
                } finally {
@@ -184,7 +185,7 @@ public class IDEConnectorManager {
                return bSuccess;
        }
 
-       static void PopupMessage(final String message) {
+       public static void CheckPopupMessage(final String message) {
 
                DASingletonFocusManager.SetFocusDA();