From ae79f03e6171ed84642e64c1a5a15c7328fa6465 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 2 Nov 2014 14:22:03 -0800 Subject: [PATCH] Add a hashCode function for ComputerDetails --- .../src/com/limelight/nvstream/http/ComputerDetails.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/moonlight-common/src/com/limelight/nvstream/http/ComputerDetails.java b/moonlight-common/src/com/limelight/nvstream/http/ComputerDetails.java index ae9836f6..6a48f3a1 100644 --- a/moonlight-common/src/com/limelight/nvstream/http/ComputerDetails.java +++ b/moonlight-common/src/com/limelight/nvstream/http/ComputerDetails.java @@ -52,6 +52,11 @@ public class ComputerDetails { return false; } + @Override + public int hashCode() { + return localIp.hashCode(); + } + @Override public String toString() { StringBuilder str = new StringBuilder();