diff --git a/src/org/ice4j/stack/Connector.java b/src/org/ice4j/stack/Connector.java index 005cc59..fb3116c 100644 --- a/src/org/ice4j/stack/Connector.java +++ b/src/org/ice4j/stack/Connector.java @@ -14,13 +14,12 @@ import org.ice4j.*; /** * The Network Access Point is the most outward part of the stack. It is - * constructed around a datagram socket and takes care about forwarding incoming - * messages to the MessageProcessor as well as sending datagrams to the STUN server - * specified by the original NetAccessPointDescriptor. + * constructed around a datagram socket and takes care of forwarding incoming + * messages to the MessageProcessor as well as sending datagrams to the STUN + * server specified by the original NetAccessPointDescriptor. * * @author Emil Ivov */ - class Connector implements Runnable { @@ -126,7 +125,6 @@ class Connector localSock = this.sock; } - localSock.receive(packet); //get lost if we are no longer running. diff --git a/src/org/ice4j/stack/StunStack.java b/src/org/ice4j/stack/StunStack.java index 2164faa..30ab365 100644 --- a/src/org/ice4j/stack/StunStack.java +++ b/src/org/ice4j/stack/StunStack.java @@ -425,9 +425,8 @@ public class StunStack //do nothing - just drop the phantom response. logger.fine("Dropped response - " + "no matching client tran found."); - logger.fine("response tid was - " + tid.toString()); - logger.fine("all tids in stock were" - + clientTransactions.toString()); + logger.fine("response tid was - " + tid); + logger.fine("all tids in stock were" + clientTransactions); } } }