make core compile with new js stuff and Task replacement class
[org.ibex.core.git] / src / org / ibex / core / LocalStorage.java
index b523d24..0ad4826 100644 (file)
@@ -1,4 +1,7 @@
-// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the GNU General Public License version 2 ("the License").
+// You may not use this file except in compliance with the License.
+
 package org.ibex.core;
 
 import java.io.*;
@@ -48,7 +51,7 @@ public class LocalStorage {
 
         public static java.io.File getCacheFileForKey(String key) {
             // FEATURE: be smarter here
-            return new java.io.File(cacheDir.getPath() + File.separatorChar + new String(Base64.encode(key.getBytes())));
+            return new java.io.File(cacheDir.getPath() + File.separatorChar + new String(Encode.toBase64(key.getBytes())));
         }
 
     }