minor bug fixes from moving interfaces
[org.ibex.js.git] / src / org / ibex / js / PropertyFile.java
index 3227922..a8b68f7 100644 (file)
@@ -1,14 +1,19 @@
-// 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 Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
 package org.ibex.js; 
 
 import org.ibex.util.*; 
 import java.util.*;
 import java.io.*;
 
+// FEATURE: Update for new api
+
 /** A JS interface to a Java '.properties' file; very crude */
-public class PropertyFile extends JS {
+public class PropertyFile extends JS.Immutable {
 
-    private final Properties p = new Properties();
+    /*private final Properties p = new Properties();
     private final Hash cache = new Hash(10, 3);
     private File f;
 
@@ -47,5 +52,5 @@ public class PropertyFile extends JS {
         Object ret = p.get(toString(key));
         if (ret != null) return ret;
         return new Minion(escape(toString(key)));
-    }
+    }*/
 }