aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAnkur Dave <ankurdave@gmail.com>2014-01-10 21:17:32 -0800
committerAnkur Dave <ankurdave@gmail.com>2014-01-10 21:17:32 -0800
commitd1d2b6d9b6b5f9cc45047507368a816903722d9e (patch)
treec35c3001964856f8e94642e06384e9a3080b86c5 /core
parentc4fb6a87d386cfd0d8b9d8733e75b8bd8cc0359e (diff)
downloadspark-d1d2b6d9b6b5f9cc45047507368a816903722d9e.tar.gz
spark-d1d2b6d9b6b5f9cc45047507368a816903722d9e.tar.bz2
spark-d1d2b6d9b6b5f9cc45047507368a816903722d9e.zip
Remove blank lines added to Spark core
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/util/collection/BitSet.scala7
-rw-r--r--core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala1
2 files changed, 0 insertions, 8 deletions
diff --git a/core/src/main/scala/org/apache/spark/util/collection/BitSet.scala b/core/src/main/scala/org/apache/spark/util/collection/BitSet.scala
index f6e03bc0e1..856eb772a1 100644
--- a/core/src/main/scala/org/apache/spark/util/collection/BitSet.scala
+++ b/core/src/main/scala/org/apache/spark/util/collection/BitSet.scala
@@ -33,7 +33,6 @@ class BitSet(numBits: Int) extends Serializable {
*/
def capacity: Int = numWords * 64
-
/**
* Set all the bits up to a given index
*/
@@ -48,7 +47,6 @@ class BitSet(numBits: Int) extends Serializable {
}
}
-
/**
* Compute the bit-wise AND of the two sets returning the
* result.
@@ -66,7 +64,6 @@ class BitSet(numBits: Int) extends Serializable {
newBS
}
-
/**
* Compute the bit-wise OR of the two sets returning the
* result.
@@ -92,7 +89,6 @@ class BitSet(numBits: Int) extends Serializable {
newBS
}
-
/**
* Sets the bit at the specified index to true.
* @param index the bit index
@@ -119,7 +115,6 @@ class BitSet(numBits: Int) extends Serializable {
(words(index >> 6) & bitmask) != 0 // div by 64 and mask
}
-
/**
* Get an iterator over the set bits.
*/
@@ -145,7 +140,6 @@ class BitSet(numBits: Int) extends Serializable {
sum
}
-
/**
* Returns the index of the first bit that is set to true that occurs on or after the
* specified starting index. If no such bit exists then -1 is returned.
@@ -185,7 +179,6 @@ class BitSet(numBits: Int) extends Serializable {
-1
}
-
/** Return the number of longs it would take to hold numBits. */
private def bit2words(numBits: Int) = ((numBits - 1) >> 6) + 1
}
diff --git a/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala b/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala
index 895ccb9be0..5ded5d0b6d 100644
--- a/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala
+++ b/core/src/main/scala/org/apache/spark/util/collection/OpenHashSet.scala
@@ -198,7 +198,6 @@ class OpenHashSet[@specialized(Long, Int) T: ClassTag](
_data(pos)
}
-
/**
* Return the next position with an element stored, starting from the given position inclusively.
*/