Skip to content

Commit

Permalink
Merge pull request #30 from lyft/fix_guava
Browse files Browse the repository at this point in the history
Fix guava conflicts
  • Loading branch information
catalinii authored Mar 12, 2021
2 parents 3599fde + 3cbfe1b commit 8805e1a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import java.util.concurrent.Executors;

import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
import com.google.common.base.Preconditions;
import com.google.common.cache.CacheBuilder;
Expand Down Expand Up @@ -786,7 +787,7 @@ public int hashCode() {

@Override
public String toString() {
return Objects.toStringHelper(this)
return MoreObjects.toStringHelper(this)
.add("appId", appId)
.add("shuffleId", shuffleId)
.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.spark.network.shuffle.protocol;

import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
import io.netty.buffer.ByteBuf;

Expand Down Expand Up @@ -51,7 +52,7 @@ public int hashCode() {

@Override
public String toString() {
return Objects.toStringHelper(this)
return MoreObjects.toStringHelper(this)
.add("appId", appId)
.add("shuffleId", shuffleId)
.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import java.util.Arrays;

import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
import io.netty.buffer.ByteBuf;
import org.roaringbitmap.RoaringBitmap;
Expand Down Expand Up @@ -76,7 +77,7 @@ public int hashCode() {

@Override
public String toString() {
return Objects.toStringHelper(this)
return MoreObjects.toStringHelper(this)
.add("shuffleId", shuffleId)
.add("reduceId size", reduceIds.length)
.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.spark.network.shuffle.protocol;

import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
import io.netty.buffer.ByteBuf;

Expand Down Expand Up @@ -59,7 +60,7 @@ public int hashCode() {

@Override
public String toString() {
return Objects.toStringHelper(this)
return MoreObjects.toStringHelper(this)
.add("appId", appId)
.add("shuffleId", shuffleId)
.add("mapIndex", mapIndex)
Expand Down

0 comments on commit 8805e1a

Please sign in to comment.