* 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
* 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
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];
Display.getDefault().syncExec(new Runnable() {
public void run() {
IDEConnectorManager
- .PopupMessage(AnalyzerLabels.RE_TRACE_FORM_IDE);
+ .CheckPopupMessage(AnalyzerLabels.RE_TRACE_FORM_IDE);
}
});
} else {
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 {
return bSuccess;
}
- static void PopupMessage(final String message) {
+ public static void CheckPopupMessage(final String message) {
DASingletonFocusManager.SetFocusDA();