propertylist/IPropertylist: removed obsolete loadHash_top()
authorEnrico Weigelt, metux IT service <[email protected]>
Fri, 23 Jul 2010 20:45:10 +0000 (23 22:45 +0200)
committerEnrico Weigelt, metux IT service <[email protected]>
Sat, 24 Jul 2010 18:44:21 +0000 (24 20:44 +0200)
propertylist/IPropertylist.java
propertylist/Propertylist.java

index 84b5a24..316457d 100644 (file)
@@ -12,9 +12,6 @@ public interface IPropertylist
     public String   dump();
 
     public void     loadProperties_sub(Properties pr);
-
-    @Deprecated
-    public void     loadHash_top(Hashtable h);
     public void     loadProperties_top(Properties pr);
 
     /* call the postprocessor */
index 5e81d7a..ee3a28f 100644 (file)
@@ -88,21 +88,6 @@ public class Propertylist implements IPropertylist
        cache.clear();
     }
 
-    @Deprecated
-    public void loadHash_top(Hashtable h)
-    {
-       for (Enumeration e = h.keys(); e.hasMoreElements(); )
-       {
-           String key = (String) e.nextElement();
-           if (key.startsWith("!!"))
-               set(key.substring(2),(String)h.get(key));
-           else if (key.startsWith("++"))
-               add(key.substring(2),(String)h.get(key));
-           else 
-               set(key,(String)h.get(key));
-       }
-    }
-
     public void loadProperties_top(Properties pr)
     {
        for (Enumeration e = pr.keys(); e.hasMoreElements(); )