summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2013-11-30 00:44:34 +0000
committerkrakjoe <joe.watkins@live.co.uk>2013-11-30 00:44:34 +0000
commit16edd155cbabe46f7083a449a6718cbb19873248 (patch)
tree865a12301e50b4841bde5ae8893bc490bf6c3b6d
parentb03f1fdb3e02d3d54769ce97fe0921a14ddc803d (diff)
downloadphp-git-16edd155cbabe46f7083a449a6718cbb19873248.tar.gz
...
-rw-r--r--tutorials/java/dist/phpdbg-ui.jarbin37860 -> 37874 bytes
-rw-r--r--tutorials/java/src/phpdbg/ui/DebugSocket.java8
2 files changed, 4 insertions, 4 deletions
diff --git a/tutorials/java/dist/phpdbg-ui.jar b/tutorials/java/dist/phpdbg-ui.jar
index f11cf4aa37..c6eb0fa3d2 100644
--- a/tutorials/java/dist/phpdbg-ui.jar
+++ b/tutorials/java/dist/phpdbg-ui.jar
Binary files differ
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();