aboutsummaryrefslogtreecommitdiffstats
path: root/guava/src/com/google/common/collect/SingletonImmutableTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'guava/src/com/google/common/collect/SingletonImmutableTable.java')
-rw-r--r--guava/src/com/google/common/collect/SingletonImmutableTable.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/guava/src/com/google/common/collect/SingletonImmutableTable.java b/guava/src/com/google/common/collect/SingletonImmutableTable.java
index e6e850c..4e33aea 100644
--- a/guava/src/com/google/common/collect/SingletonImmutableTable.java
+++ b/guava/src/com/google/common/collect/SingletonImmutableTable.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 The Guava Authors
+ * Copyright (C) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ import javax.annotation.Nullable;
/**
* An implementation of {@link ImmutableTable} that holds a single cell.
*
- * @author Gregory Kick
+ * @author gak@google.com (Gregory Kick)
*/
@GwtCompatible
final class SingletonImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
@@ -119,7 +119,7 @@ final class SingletonImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
@Override public boolean equals(@Nullable Object obj) {
if (obj == this) {
return true;
- } else if (obj instanceof Table) {
+ } else if (obj instanceof Table<?, ?, ?>) {
Table<?, ?, ?> that = (Table<?, ?, ?>) obj;
if (that.size() == 1) {
Cell<?, ?, ?> thatCell = that.cellSet().iterator().next();