diff options
Diffstat (limited to 'guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EmptyImmutableList.java')
-rw-r--r-- | guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EmptyImmutableList.java | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EmptyImmutableList.java b/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EmptyImmutableList.java index 24b1151..435fc26 100644 --- a/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EmptyImmutableList.java +++ b/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EmptyImmutableList.java @@ -13,25 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package com.google.common.collect; -import static java.util.Collections.emptyList; - -import java.util.List; - /** * GWT emulated version of EmptyImmutableList. * * @author Hayward Chan */ -final class EmptyImmutableList extends ForwardingImmutableList<Object> { - static final EmptyImmutableList INSTANCE = new EmptyImmutableList(); - - private EmptyImmutableList() { - } +final class EmptyImmutableList extends ImmutableList<Object> { - @Override List<Object> delegateList() { - return emptyList(); - } + static final EmptyImmutableList INSTANCE = new EmptyImmutableList(); } |