[Yanel-commits] rev 24201 - public/yanel/trunk/src/core/java/org/wyona/yanel/core

michi at wyona.com michi at wyona.com
Sat May 5 13:31:10 CEST 2007


Author: michi
Date: 2007-05-05 13:31:09 +0200 (Sat, 05 May 2007)
New Revision: 24201

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceConfiguration.java
Log:
properties bug found and start with some preparations in order to fix it

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceConfiguration.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceConfiguration.java	2007-05-05 09:01:31 UTC (rev 24200)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceConfiguration.java	2007-05-05 11:31:09 UTC (rev 24201)
@@ -37,7 +37,7 @@
 
     private Category log = Category.getInstance(ResourceConfiguration.class);
 
-    protected Map properties;
+    //protected Map properties;
     protected String name;
     protected String namespace;
     private String encoding = null;
@@ -69,10 +69,9 @@
         this.name = name;
         this.namespace = namespace;
 
-        if (properties == null) {
-            this.properties = new HashMap();
-        } else {
-            this.properties = properties;
+        if (properties != null) {
+            log.error("Set config not implemented yet: " + properties);
+            // TODO: Set config ...
         }
     }
     
@@ -110,6 +109,7 @@
      */
     public String getProperty(String key) throws Exception {
         //return (String)properties.get(key);
+
         if (config != null) {
             Configuration[] props = config.getChildren("property");
             for (int i = 0; i < props.length; i++) {




More information about the Yanel-commits mailing list