summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Henry <[email protected]>2023-08-02 10:11:58 -0700
committerGitHub <[email protected]>2023-08-02 10:11:58 -0700
commit79636da66e1531f330568cdf1d5604805ad80f13 (patch)
tree302757ffe3bfc941d8661eff4bf3a373337c13c9
parentf5eee8d25a424c52283d7b59d8b83dc06f825309 (diff)
parentb4c7fd1a0f0e7a2a58f5d8c9c64d9b3463d9bb94 (diff)
Merge pull request #240 from zerotier/brenton/fix-cannot-resolve-symbol
Fix: Cannot resolve symbol 'localPort'
-rw-r--r--src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java b/src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java
index ac1e25f..1a3cc57 100644
--- a/src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java
+++ b/src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java
@@ -76,7 +76,6 @@ public class ZeroTierServerSocket {
/**
* Bind to a local address
* @param localAddr Local address to which this socket should bind
- * @param localPort Local port to which this socket should bind
*
* @exception IOException when an I/O error occurs
*/
@@ -87,19 +86,6 @@ public class ZeroTierServerSocket {
}
/**
- * Bind to a local address
- * @param localAddr Local address to which this socket should bind
- * @param localPort Local port to which this socket should bind
- *
- * @exception IOException when an I/O error occurs
- */
- public void bind(SocketAddress localAddr, int backlog) throws IOException
- {
- InetSocketAddress inetAddr = (InetSocketAddress)localAddr;
- _socket.bind(inetAddr.getHostName(), inetAddr.getPort());
- }
-
- /**
* Close the ZeroTierSocket.
*
* @exception IOException when an I/O error occurs