james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r985511 - /james/server/trunk/user-library/src/main/java/org/apache/james/impl/vut/AbstractVirtualUserTable.java
Date Sat, 14 Aug 2010 15:26:23 GMT
Author: eric
Date: Sat Aug 14 15:26:22 2010
New Revision: 985511

URL: http://svn.apache.org/viewvc?rev=985511&view=rev
Log:
XMLVirtualUserTable throws exceptions when virtual domain not defined (JAMES-1036)

Modified:
    james/server/trunk/user-library/src/main/java/org/apache/james/impl/vut/AbstractVirtualUserTable.java

Modified: james/server/trunk/user-library/src/main/java/org/apache/james/impl/vut/AbstractVirtualUserTable.java
URL: http://svn.apache.org/viewvc/james/server/trunk/user-library/src/main/java/org/apache/james/impl/vut/AbstractVirtualUserTable.java?rev=985511&r1=985510&r2=985511&view=diff
==============================================================================
--- james/server/trunk/user-library/src/main/java/org/apache/james/impl/vut/AbstractVirtualUserTable.java
(original)
+++ james/server/trunk/user-library/src/main/java/org/apache/james/impl/vut/AbstractVirtualUserTable.java
Sat Aug 14 15:26:22 2010
@@ -157,7 +157,7 @@ public abstract class AbstractVirtualUse
                         String domainName = null;
                         String args[] = target.split("@");
                                         
-                        if (args != null && args.length > 0) {
+                        if (args != null && args.length > 1) {
                     
                             userName = args[0];
                             domainName = args[1];



---------------------------------------------------------------------
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