Skip to content

Commit

Permalink
revert unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
Davies Liu committed Jul 21, 2015
1 parent 68f5cd9 commit ca2b40f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ trait HashSemiJoin {
@transient private lazy val boundCondition =
newPredicate(condition.getOrElse(Literal(true)), left.output ++ right.output)

protected def buildKeyHashSet( buildIter: Iterator[InternalRow]): java.util.Set[InternalRow] = {
protected def buildKeyHashSet(buildIter: Iterator[InternalRow]): java.util.Set[InternalRow] = {
val hashSet = new java.util.HashSet[InternalRow]()
var currentRow: InternalRow = null

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static boolean isSet(Object baseObject, long baseOffset, int index) {
*/
public static boolean anySet(Object baseObject, long baseOffset, long bitSetWidthInWords) {
long addr = baseOffset;
for (int i = 0; i < bitSetWidthInWords; i += 1, addr += WORD_SIZE) {
for (int i = 0; i < bitSetWidthInWords; i++, addr += WORD_SIZE) {
if (PlatformDependent.UNSAFE.getLong(baseObject, addr) != 0) {
return true;
}
Expand Down

0 comments on commit ca2b40f

Please sign in to comment.