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 f6e03bc0e190d8be14cdce6f0af7aaa059f583f8..856eb772a10840c035db3cfe069239519dab51d0 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 895ccb9be0ca9a3bfb9891b0aa9c1337f4f08561..5ded5d0b6da8466a7560295fc12ff930a7f8cfae 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. */