tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory MailSessionFactory.java
Date Mon, 26 Mar 2001 03:26:06 GMT
glenn       01/03/25 19:26:06

  Modified:    catalina/src/share/org/apache/naming/factory
                        MailSessionFactory.java
  Log:
  Use getInstance instead of getDefaultInstance
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/MailSessionFactory.java
  
  Index: MailSessionFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/MailSessionFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MailSessionFactory.java	2001/03/24 20:52:07	1.1
  +++ MailSessionFactory.java	2001/03/26 03:26:05	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/MailSessionFactory.java,v
1.1 2001/03/24 20:52:07 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/03/24 20:52:07 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/MailSessionFactory.java,v
1.2 2001/03/26 03:26:05 glenn Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/03/26 03:26:05 $
    *
    * ====================================================================
    *
  @@ -106,7 +106,7 @@
    * </pre>
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2001/03/24 20:52:07 $
  + * @version $Revision: 1.2 $ $Date: 2001/03/26 03:26:05 $
    */
   
   public class MailSessionFactory implements ObjectFactory {
  @@ -160,7 +160,7 @@
                       }
   
                       // Create and return the new Session object
  -                    Session session = Session.getDefaultInstance(props, null);
  +                    Session session = Session.getInstance(props, null);
                       return (session);
   
   		}
  
  
  

Mime
View raw message