From a043cd1848ebedceff7b09b02a328b24288afb02 Mon Sep 17 00:00:00 2001 From: mdb Date: Fri, 12 May 2006 01:17:56 +0000 Subject: [PATCH] Those weren't needed. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1842 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/CountHashMap.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/java/com/samskivert/util/CountHashMap.java b/src/java/com/samskivert/util/CountHashMap.java index d5f2883f..63118b3f 100644 --- a/src/java/com/samskivert/util/CountHashMap.java +++ b/src/java/com/samskivert/util/CountHashMap.java @@ -184,14 +184,13 @@ public class CountHashMap extends HashMap protected class CountEntrySet extends AbstractSet> { - public CountEntrySet (Set superset) + public CountEntrySet (Set> superset) { _superset = superset; } public Iterator> iterator () { - @SuppressWarnings("unchecked") final Iterator> itr = _superset.iterator(); return new Iterator>() { public boolean hasNext () @@ -199,10 +198,9 @@ public class CountHashMap extends HashMap return itr.hasNext(); } - @SuppressWarnings("unchecked") public Entry next () { - return new CountEntryImpl(itr.next()); + return new CountEntryImpl(itr.next()); } public void remove () @@ -232,6 +230,6 @@ public class CountHashMap extends HashMap CountHashMap.this.clear(); } - protected Set _superset; + protected Set> _superset; } }