commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ep...@apache.org
Subject cvs commit: jakarta-commons-sandbox/email/xdocs changes.xml
Date Sun, 24 Oct 2004 17:46:38 GMT
epugh       2004/10/24 10:46:38

  Modified:    email/src/java/org/apache/commons/mail Email.java
               email/xdocs changes.xml
  Log:
  Clone System.getProperties instead of changing it.
  
  Revision  Changes    Path
  1.20      +2 -2      jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/Email.java
  
  Index: Email.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/Email.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Email.java	24 Oct 2004 17:41:21 -0000	1.19
  +++ Email.java	24 Oct 2004 17:46:38 -0000	1.20
  @@ -330,7 +330,7 @@
           throws MessagingException
       {
           if (session == null){
  -            Properties properties = System.getProperties();
  +            Properties properties = new Properties(System.getProperties());
               properties.setProperty( MAIL_TRANSPORT_PROTOCOL, SMTP );
   
               if ( !StringUtils.isNotEmpty( this.hostName ) )
  
  
  
  1.6       +4 -0      jakarta-commons-sandbox/email/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/email/xdocs/changes.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- changes.xml	24 Oct 2004 17:41:21 -0000	1.5
  +++ changes.xml	24 Oct 2004 17:46:38 -0000	1.6
  @@ -7,6 +7,10 @@
   
     <body>
       <release version="1.0" date="IN CVS">
  +      <action dev="epugh" type="add" due-to="Joe Germuska">
  +        Clone the System.getProperties() call instead of putting random properties
  +        into it.
  +      </action>         
         <action dev="epugh" type="add" issue="16859">
           Can't supply a javax.mail.Session to Commons Email componenet
         </action>           
  
  
  

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


Mime
View raw message