Skip to content

Commit

Permalink
Viewer: Remove unused TcpSocket.isSocket() method
Browse files Browse the repository at this point in the history
  • Loading branch information
dcommander committed Jul 10, 2023
1 parent 9218efe commit edf6dc4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions java/com/turbovnc/network/TcpSocket.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ public static boolean enableNagles(SocketDescriptor sock, boolean enable) {
return true;
}

public static boolean isSocket(java.net.Socket sock) {
return sock.getClass().toString().equals("com.turbovnc.net.Socket");
}

public boolean isConnected() {
return ((SocketDescriptor)getFd()).isConnected();
}
Expand Down

0 comments on commit edf6dc4

Please sign in to comment.