From 07e6a574dbc03446437d7cb135126dd013ce94de Mon Sep 17 00:00:00 2001 From: andrzej Date: Tue, 17 Jun 2008 00:46:02 +0000 Subject: [PATCH] No need to obscure the fact that's a HashMap. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2328 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/SoftCache.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/com/samskivert/util/SoftCache.java b/src/java/com/samskivert/util/SoftCache.java index 18e24bba..72cbe67f 100644 --- a/src/java/com/samskivert/util/SoftCache.java +++ b/src/java/com/samskivert/util/SoftCache.java @@ -22,7 +22,6 @@ package com.samskivert.util; import java.lang.ref.SoftReference; import java.util.HashMap; -import java.util.Map; /** * Implements a {@link SoftReference} cache wherein the values in the hashmap are not prevented @@ -48,7 +47,7 @@ public class SoftCache /** * Returns a reference to the underlying map. */ - public Map> getMap () + public HashMap> getMap () { return _map; }