james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r883728 - /james/server/trunk/common-util/src/main/java/org/apache/james/util/ConfigurationAdapter.java
Date Tue, 24 Nov 2009 15:34:18 GMT
Author: norman
Date: Tue Nov 24 15:34:18 2009
New Revision: 883728

URL: http://svn.apache.org/viewvc?rev=883728&view=rev
Log:
make sure mailet configurations could get parsed correctly

Modified:
    james/server/trunk/common-util/src/main/java/org/apache/james/util/ConfigurationAdapter.java

Modified: james/server/trunk/common-util/src/main/java/org/apache/james/util/ConfigurationAdapter.java
URL: http://svn.apache.org/viewvc/james/server/trunk/common-util/src/main/java/org/apache/james/util/ConfigurationAdapter.java?rev=883728&r1=883727&r2=883728&view=diff
==============================================================================
--- james/server/trunk/common-util/src/main/java/org/apache/james/util/ConfigurationAdapter.java
(original)
+++ james/server/trunk/common-util/src/main/java/org/apache/james/util/ConfigurationAdapter.java
Tue Nov 24 15:34:18 2009
@@ -34,6 +34,9 @@
 
 	public ConfigurationAdapter(org.apache.avalon.framework.configuration.Configuration avalonConfig)
throws ConfigurationException {
 		String config = ConfigurationUtil.toString(avalonConfig);
-		load(new ByteArrayInputStream(config.getBytes()));
+		load(new ByteArrayInputStream(config.getBytes()));        
+		// thats needed because of our configuration style
+		setDelimiterParsingDisabled(false);
+
 	}
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message