Quellcode durchsuchen

Modified the toString() for UdpEndpoint to include
the address instead of the socket... since they all share
the same socket anyway and the datagram sockets don't
have useful toString()s.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

PSp..om vor 14 Jahren
Ursprung
Commit
e298a4357e

+ 1 - 1
engine/src/networking/com/jme3/network/kernel/udp/UdpEndpoint.java

@@ -132,6 +132,6 @@ public class UdpEndpoint implements Endpoint
 
     public String toString()
     {
-        return "UdpEndpoint[" + id + ", " + socket + "]";
+        return "UdpEndpoint[" + id + ", " + address + "]";
     }
 }