james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r811532 - /james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java
Date Fri, 04 Sep 2009 20:12:33 GMT
Author: rdonkin
Date: Fri Sep  4 20:12:33 2009
New Revision: 811532

URL: http://svn.apache.org/viewvc?rev=811532&view=rev
Log:
Generify

Modified:
    james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java

Modified: james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java
URL: http://svn.apache.org/viewvc/james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java?rev=811532&r1=811531&r2=811532&view=diff
==============================================================================
--- james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java
(original)
+++ james/server/trunk/smtpserver-function/src/main/java/org/apache/james/smtpserver/SMTPServer.java
Fri Sep  4 20:12:33 2009
@@ -205,7 +205,7 @@
 
             if (authorizedAddresses != null) {
                 java.util.StringTokenizer st = new java.util.StringTokenizer(authorizedAddresses,
", ", false);
-                java.util.Collection networks = new java.util.ArrayList();
+                java.util.Collection<String> networks = new java.util.ArrayList<String>();
                 while (st.hasMoreTokens()) {
                     String addr = st.nextToken();
                     networks.add(addr);



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