From f0d747c72360dc31141fd8e5798edae3f49d7173 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 9 Oct 2006 02:47:37 +0000 Subject: [PATCH] removed deprecated method git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2723 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaHTCache.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/source/de/anomic/plasma/plasmaHTCache.java b/source/de/anomic/plasma/plasmaHTCache.java index df9c4c042..e95ebc24a 100644 --- a/source/de/anomic/plasma/plasmaHTCache.java +++ b/source/de/anomic/plasma/plasmaHTCache.java @@ -839,24 +839,6 @@ public final class plasmaHTCache { } return null; } - - /** - * @param url - * @return - * - * @deprecated dont't use this function to avoid OutOfMemory-Exceptions. - * Use {@link #getResourceContentStream(URL)} instead - */ - public byte[] loadResourceContent(URL url) { - // load the url as resource from the cache - File f = getCachePath(url); - if (f.exists() && f.canRead()) try { - return serverFileUtils.read(f); - } catch (IOException e) { - return null; - } - return null; - } /** * Returns the content of a cached resource as {@link InputStream}