Override hashCode().
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Sone.java
index 8416a05..7c96443 100644 (file)
@@ -131,4 +131,17 @@ public class Sone {
                return this;
        }
 
+       //
+       // OBJECT METHODS
+       //
+
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       public int hashCode() {
+               /* TODO improve */
+               return requestUri.hashCode();
+       }
+
 }