Skip to content

Commit

Permalink
[SPARK-8301] removed null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekbecker committed Jun 18, 2015
1 parent 9ca0473 commit 6d7b068
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ public UTF8String clone() {

@Override
public int compareTo(final UTF8String other) {
if (other == null) return 1;
final byte[] b = other.getBytes();
for (int i = 0; i < bytes.length && i < b.length; i++) {
int res = bytes[i] - b[i];
Expand Down

0 comments on commit 6d7b068

Please sign in to comment.