aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorReynold Xin <rxin@apache.org>2013-11-27 00:30:26 -0800
committerReynold Xin <rxin@apache.org>2013-11-27 00:30:26 -0800
commit95e83af209b322a54fd405b515602cf74020e2f0 (patch)
tree3087b413d98c6b60b3641e51702063556d83a5c1 /core
parentcaba1628612603ebf3e8e71b0d89b81e64a8ef87 (diff)
downloadspark-95e83af209b322a54fd405b515602cf74020e2f0.tar.gz
spark-95e83af209b322a54fd405b515602cf74020e2f0.tar.bz2
spark-95e83af209b322a54fd405b515602cf74020e2f0.zip
More, bigger cleaning for better encapsulation of VertexSetRDD and VertexPartition. This is work in progress as stuff doesn't really run.
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/util/collection/PrimitiveKeyOpenHashMap.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/util/collection/PrimitiveKeyOpenHashMap.scala b/core/src/main/scala/org/apache/spark/util/collection/PrimitiveKeyOpenHashMap.scala
index 987077dd8a..ee1b168028 100644
--- a/core/src/main/scala/org/apache/spark/util/collection/PrimitiveKeyOpenHashMap.scala
+++ b/core/src/main/scala/org/apache/spark/util/collection/PrimitiveKeyOpenHashMap.scala
@@ -71,7 +71,7 @@ class PrimitiveKeyOpenHashMap[@specialized(Long, Int) K: ClassManifest,
/** Set the value for a key */
- def setMerge(k: K, v: V, mergeF: (V,V) => V) {
+ def setMerge(k: K, v: V, mergeF: (V, V) => V) {
val pos = keySet.addWithoutResize(k)
val ind = pos & OpenHashSet.POSITION_MASK
if ((pos & OpenHashSet.NONEXISTENCE_MASK) != 0) { // if first add