noel        2004/03/25 20:44:37

  Modified:    src/java/org/apache/james/transport/mailets Tag:
                        branch_2_1_fcs RemoteDelivery.java
  Log:
  removed printStackTrace, corrected javadoc, minor change in an anonymous inner class 
that 1.4 would compile, but not 1.3
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.33.4.19 +4 -4      
james-server/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
  
  Index: RemoteDelivery.java
  ===================================================================
  RCS file: 
/home/cvs/james-server/src/java/org/apache/james/transport/mailets/RemoteDelivery.java,v
  retrieving revision 1.33.4.18
  retrieving revision 1.33.4.19
  diff -u -r1.33.4.18 -r1.33.4.19
  --- RemoteDelivery.java       22 Mar 2004 22:04:18 -0000      1.33.4.18
  +++ RemoteDelivery.java       26 Mar 2004 04:44:36 -0000      1.33.4.19
  @@ -263,7 +263,6 @@
               
           } catch (Exception e) {
               log("Invalid maxRetries setting: " + getInitParameter("maxRetries"));
  -            e.printStackTrace();
           }
           try {
               if (getInitParameter("timeout") != null) {
  @@ -622,7 +621,7 @@
        * Insert the method's description here.
        * Creation date: (2/25/00 1:14:18 AM)
        * @param mail org.apache.james.core.MailImpl
  -     * @param exception java.lang.Exception
  +     * @param exception javax.mail.MessagingException
        * @param boolean permanent
        * @return boolean Whether the message failed fully and can be deleted
        */
  @@ -1113,8 +1112,9 @@
                       final String nextGateway = server;
                       final String nextGatewayPort = port;
                       try {
  +                        final InetAddress[] ips = 
InetAddress.getAllByName(nextGateway);
                           addresses = new Iterator() {
  -                            private InetAddress[] ipAddresses = 
InetAddress.getAllByName(nextGateway);
  +                            private InetAddress[] ipAddresses = ips;
                               int i = 0;
   
                               public boolean hasNext() {
  
  
  

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

Reply via email to