From: phjwithyou.park Date: Fri, 17 Aug 2012 08:48:48 +0000 (+0900) Subject: [Title] Source Refactoring X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a8e9166cc2ed9f9ae0af288e84ad0cbe47943b3;p=sdk%2Ftools%2Fdynamic-analyzer.git [Title] Source Refactoring [Type] [Module] [Priority] [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/ApplicationWorkbenchWindowAdvisor.java b/org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/ApplicationWorkbenchWindowAdvisor.java index 9f63f7d..dab0100 100755 --- a/org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/ApplicationWorkbenchWindowAdvisor.java +++ b/org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/workbench/ApplicationWorkbenchWindowAdvisor.java @@ -5,8 +5,9 @@ * * Contact: * Jooyoul Lee + * Hyunjong Park * Juyoung Kim - * Hyunjong Pakr + * * * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/DASingletonFocusManager.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/DASingletonFocusManager.java index 38888a3..97178c9 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/DASingletonFocusManager.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/DASingletonFocusManager.java @@ -4,7 +4,8 @@ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. * * Contact: - * Hyunjong Pakr + * Hyunjong Park + * Juyoung Kim * * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/IDEConnectorManager.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/IDEConnectorManager.java index cb6da6b..98b8162 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/IDEConnectorManager.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/IDEConnectorManager.java @@ -4,7 +4,8 @@ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. * * Contact: - * Hyunjong Pakr + * Hyunjong Park + * Juyoung Kim * * 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();