Author: norman
Date: Fri Jan 26 05:34:54 2007
New Revision: 500239

URL: http://svn.apache.org/viewvc?view=rev&rev=500239
Log:
Get sure we get a new ArrayList everytime when retrieving the domainList, 
otherwise the List will grow everytime the getDomainList is called. See 
JAMES-768

Modified:
    james/server/trunk/src/java/org/apache/james/domain/XMLDomainList.java

Modified: james/server/trunk/src/java/org/apache/james/domain/XMLDomainList.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/domain/XMLDomainList.java?view=diff&rev=500239&r1=500238&r2=500239
==============================================================================
--- james/server/trunk/src/java/org/apache/james/domain/XMLDomainList.java 
(original)
+++ james/server/trunk/src/java/org/apache/james/domain/XMLDomainList.java Fri 
Jan 26 05:34:54 2007
@@ -71,7 +71,7 @@
         // This is set to true to get sure now new domain can get added or 
removed
         // after the domains were retrieved by James.java. See is a workaround!
         managementDisabled = true;
-        return domainNames;
+        return new ArrayList(domainNames);
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to