From 9e48af6dba5817b7ac35a5bfa5ffe8825960c4c8 Mon Sep 17 00:00:00 2001
From: Ankur Dave <ankurdave@gmail.com>
Date: Fri, 10 Jan 2014 15:22:57 -0800
Subject: [PATCH] Remove unused HashUtils class

---
 .../apache/spark/graphx/util/HashUtils.scala  | 21 -------------------
 1 file changed, 21 deletions(-)
 delete mode 100644 graphx/src/main/scala/org/apache/spark/graphx/util/HashUtils.scala

diff --git a/graphx/src/main/scala/org/apache/spark/graphx/util/HashUtils.scala b/graphx/src/main/scala/org/apache/spark/graphx/util/HashUtils.scala
deleted file mode 100644
index 7a79d33350..0000000000
--- a/graphx/src/main/scala/org/apache/spark/graphx/util/HashUtils.scala
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.apache.spark.graphx.util
-
-
-object HashUtils {
-
-  /**
-   * Compute a 64-bit hash value for the given string.
-   * See http://stackoverflow.com/questions/1660501/what-is-a-good-64bit-hash-function-in-java-for-textual-strings
-   */
-  def hash(str: String): Long = {
-    var h = 1125899906842597L
-    val len = str.length
-    var i = 0
-
-    while (i < len) {
-      h = 31 * h + str(i)
-      i += 1
-    }
-    h
-  }
-}
-- 
GitLab