changeset 98:dd811063bbc5

*** empty log message ***
author pin
date Sat, 22 Dec 2007 15:07:03 +0900
parents dacc546ac632
children 8f98f1ff1b2f
files .settings/org.eclipse.core.resources.prefs src/remoteeditor/network/REPPacketReceive.java src/remoteeditor/network/REPPacketSend.java
diffstat 3 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.settings/org.eclipse.core.resources.prefs	Sat Dec 22 15:07:03 2007 +0900
@@ -0,0 +1,3 @@
+#Sat Dec 22 15:28:02 JST 2007
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
--- a/src/remoteeditor/network/REPPacketReceive.java	Sat Dec 22 14:35:22 2007 +0900
+++ b/src/remoteeditor/network/REPPacketReceive.java	Sat Dec 22 15:07:03 2007 +0900
@@ -30,7 +30,7 @@
 			e1.printStackTrace();
 		}  // limit = read length
 		if (len !=HEADER_SIZE) {
-			System.out.println("‚Ä‚·");
+			System.out.println("this can't happen");
 			// this can't happen
 		}
 		header.rewind();  // position = 0
@@ -52,7 +52,7 @@
 		}  // limit = read length
 		if (len != textsiz * 2) {
 			// this can't happen
-			System.out.println("‚ ‚Æ");
+			System.out.println("����");
 		}
 		textBuffer.rewind();
 		for(int i=0;i<textsiz;i++) {
--- a/src/remoteeditor/network/REPPacketSend.java	Sat Dec 22 14:35:22 2007 +0900
+++ b/src/remoteeditor/network/REPPacketSend.java	Sat Dec 22 15:07:03 2007 +0900
@@ -14,7 +14,7 @@
 	}
 	
 	public ByteBuffer pack(REPCommand command){
-		//command.setString(command.string + ":temp:123456");	//‚ ‚Æ‚Å‘‚«’¼‚·
+		//command.setString(command.string + ":temp:123456");	
     	System.out.println("send command: " + command.toString());
     	ByteBuffer buffer = ByteBuffer.allocateDirect(24+(command.string).length()*2);
     	buffer.clear();  // position = 0