From e612575c58658db39c37f80617a3d79c38719f3a Mon Sep 17 00:00:00 2001 From: "ray.j.greenwell" Date: Wed, 2 Dec 2009 22:44:45 +0000 Subject: [PATCH] Deprecated, a replacement class now exists in the JDK. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2659 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/MapEntry.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/java/com/samskivert/util/MapEntry.java b/src/java/com/samskivert/util/MapEntry.java index 29728f77..bc2f2712 100644 --- a/src/java/com/samskivert/util/MapEntry.java +++ b/src/java/com/samskivert/util/MapEntry.java @@ -23,12 +23,9 @@ package com.samskivert.util; import java.util.Map; /** - * A useful building block for implementing one's own {@link Map} classes. Sun - * has this same damned code in AbstractMap and have idiotically declared it - * package protected, with a genius comment saying "This should be made public - * as soon as possible. It greatly simplifies the task of implementing Map." No - * doubt that comment was added half a decade ago. Thanks guys! + * @deprecated As of JDK version 1.6 a replacement is available: java.util.AbstractMap.SimpleEntry. */ +@Deprecated public class MapEntry implements Map.Entry { public MapEntry (K key, V value)