jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r165633 - /incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/WebAppTestConfig.java
Date Mon, 02 May 2005 14:15:36 GMT
Author: dpfister
Date: Mon May  2 07:15:34 2005
New Revision: 165633

URL: http://svn.apache.org/viewcvs?rev=165633&view=rev
Log:
Changes for new specification 0.16.4.1

Modified:
    incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/WebAppTestConfig.java

Modified: incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/WebAppTestConfig.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/WebAppTestConfig.java?rev=165633&r1=165632&r2=165633&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/WebAppTestConfig.java
(original)
+++ incubator/jackrabbit/trunk/contrib/tck-webapp/src/java/org/apache/jackrabbit/tck/WebAppTestConfig.java
Mon May  2 07:15:34 2005
@@ -219,6 +219,16 @@
     public static Map getCurrentConfig() {
         Map conf = getOriConfig();
         conf.putAll(getConfig());
+
+        // fill all empty (== null) values with an empty string
+        Iterator itr = conf.keySet().iterator();
+        while (itr.hasNext()) {
+            String key = (String) itr.next();
+            String val = (String) conf.get(key);
+            if (val == null) {
+                conf.put(key, "");
+            }
+        }
         return conf;
     }
 



Mime
View raw message