- Use java.util.Objects instead of the Google class.

This commit is contained in:
Agetian
2015-05-23 13:57:58 +00:00
parent 069d8a5b00
commit d859d378c6

View File

@@ -1,10 +1,10 @@
package forge.game.card; package forge.game.card;
import com.google.common.base.Objects;
import java.util.EnumSet; import java.util.EnumSet;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Objects;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
@@ -381,7 +381,7 @@ public class CardView extends GameEntityView {
case Library: case Library:
case PlanarDeck: case PlanarDeck:
//cards in these zones are hidden to all unless they specify otherwise //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; return true;
} }
if (controller.isOpponentOf(viewer) && getCurrentState().getOpponentMayLook()) { if (controller.isOpponentOf(viewer) && getCurrentState().getOpponentMayLook()) {