diff options
author | krakjoe <joe.watkins@live.co.uk> | 2013-11-30 00:44:34 +0000 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2013-11-30 00:44:34 +0000 |
commit | 16edd155cbabe46f7083a449a6718cbb19873248 (patch) | |
tree | 865a12301e50b4841bde5ae8893bc490bf6c3b6d /tutorials/java/src/phpdbg | |
parent | b03f1fdb3e02d3d54769ce97fe0921a14ddc803d (diff) | |
download | php-git-16edd155cbabe46f7083a449a6718cbb19873248.tar.gz |
...
Diffstat (limited to 'tutorials/java/src/phpdbg')
-rw-r--r-- | tutorials/java/src/phpdbg/ui/DebugSocket.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorials/java/src/phpdbg/ui/DebugSocket.java b/tutorials/java/src/phpdbg/ui/DebugSocket.java index b8f30c4300..8e811e9be9 100644 --- a/tutorials/java/src/phpdbg/ui/DebugSocket.java +++ b/tutorials/java/src/phpdbg/ui/DebugSocket.java @@ -74,12 +74,12 @@ public class DebugSocket implements Runnable { } if (reader) { - /* The reader thread part will wait() until there is input */ + /* The reader thread will wait() until there is input */ Socket socket = new Socket(this.host, this.port); + String command; + OutputStream output = socket.getOutputStream(); + do { - String command; - OutputStream output = socket.getOutputStream(); - synchronized(this) { wait(); |