From d859d378c67d924b39953d36ac2bcfcfaea3d81b Mon Sep 17 00:00:00 2001 From: Agetian Date: Sat, 23 May 2015 13:57:58 +0000 Subject: [PATCH] - Use java.util.Objects instead of the Google class. --- forge-game/src/main/java/forge/game/card/CardView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-game/src/main/java/forge/game/card/CardView.java b/forge-game/src/main/java/forge/game/card/CardView.java index 5588321efe6..4857c20caca 100644 --- a/forge-game/src/main/java/forge/game/card/CardView.java +++ b/forge-game/src/main/java/forge/game/card/CardView.java @@ -1,10 +1,10 @@ package forge.game.card; -import com.google.common.base.Objects; import java.util.EnumSet; import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.Objects; import org.apache.commons.lang3.StringUtils; @@ -381,7 +381,7 @@ public class CardView extends GameEntityView { case Library: case PlanarDeck: //cards in these zones are hidden to all unless they specify otherwise - if (Objects.equal(controller, viewer) && getCurrentState().getYouMayLook()) { + if (Objects.equals(controller, viewer) && getCurrentState().getYouMayLook()) { return true; } if (controller.isOpponentOf(viewer) && getCurrentState().getOpponentMayLook()) {