[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] com php-src: ...: tutorials/java/dist/phpdbg-ui.jar tutorials/java/src/phpdbg/ui/DebugSock
From:       Bob Weinand <bwoebi () php ! net>
Date:       2013-11-30 0:44:34
Message-ID: php-mail-6bf34fa739fe6745a331963f4fa28dbc1150085329 () git ! php ! net
[Download RAW message or body]

Commit:    16edd155cbabe46f7083a449a6718cbb19873248
Author:    krakjoe <joe.watkins@live.co.uk>         Sat, 30 Nov 2013 00:44:34 +0000
Parents:   b03f1fdb3e02d3d54769ce97fe0921a14ddc803d
Branches:  PHP-5.6

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=16edd155cbabe46f7083a449a6718cbb19873248


Log:
...

Changed paths:
  M  tutorials/java/dist/phpdbg-ui.jar
  M  tutorials/java/src/phpdbg/ui/DebugSocket.java


Diff:
diff --git a/tutorials/java/dist/phpdbg-ui.jar b/tutorials/java/dist/phpdbg-ui.jar
index f11cf4a..c6eb0fa 100644
Binary files a/tutorials/java/dist/phpdbg-ui.jar and \
                b/tutorials/java/dist/phpdbg-ui.jar differ
diff --git a/tutorials/java/src/phpdbg/ui/DebugSocket.java \
b/tutorials/java/src/phpdbg/ui/DebugSocket.java index b8f30c4..8e811e9 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();


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic