mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-01 23:35:28 +00:00
fix: use address and port for details hash
This commit is contained in:
parent
3a9eabf50b
commit
121bef7d2d
@ -1,6 +1,7 @@
|
||||
package com.limelight.nvstream.http;
|
||||
|
||||
import java.security.cert.X509Certificate;
|
||||
import java.util.Objects;
|
||||
|
||||
|
||||
public class ComputerDetails {
|
||||
@ -31,7 +32,7 @@ public class ComputerDetails {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return address.hashCode();
|
||||
return Objects.hash(address, port);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user