Change file names in copyright lines
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Client.java
index ad094f2..612a258 100644 (file)
@@ -19,6 +19,8 @@ package net.pterodactylus.sone.data;
 
 import static com.google.common.base.Objects.equal;
 
+import com.google.common.base.Objects;
+
 /**
  * Container for the client information of a {@link Sone}.
  *
@@ -76,4 +78,9 @@ public class Client {
                return equal(getName(), client.getName()) && equal(getVersion(), client.getVersion());
        }
 
+       @Override
+       public int hashCode() {
+               return Objects.hashCode(name, version);
+       }
+
 }