Skip to content

Commit 09dcc08

Browse files
committed
Android: Utils: remove unused function
1 parent 3f6bc6c commit 09dcc08

File tree

1 file changed

+0
-16
lines changed
  • android/app/src/main/java/com/coboltforge/dontmind/multivnc

1 file changed

+0
-16
lines changed

android/app/src/main/java/com/coboltforge/dontmind/multivnc/Utils.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,6 @@ public static NetworkInterface getActiveNetworkInterface() {
9595
return null;
9696
}
9797

98-
99-
public static InetAddress intToInetAddress(int hostAddress) {
100-
InetAddress inetAddress;
101-
byte[] addressBytes = { (byte) (0xff & hostAddress),
102-
(byte) (0xff & (hostAddress >> 8)),
103-
(byte) (0xff & (hostAddress >> 16)),
104-
(byte) (0xff & (hostAddress >> 24)) };
105-
106-
try {
107-
inetAddress = InetAddress.getByAddress(addressBytes);
108-
} catch (UnknownHostException e) {
109-
return null;
110-
}
111-
return inetAddress;
112-
}
113-
11498
public static void copy(InputStream in, OutputStream out) throws IOException {
11599
byte[] buffer = new byte[4096];
116100
int read;

0 commit comments

Comments
 (0)