commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log LogSource.java
Date Tue, 13 Nov 2001 00:33:28 GMT
rwaldhoff    01/11/12 16:33:28

  Modified:    httpclient/src/java/org/apache/commons/httpclient/log
                        LogSource.java
  Log:
  applying alvins@dsl.ab.ca's "httpclient with applet" patch (moving System.getProperty()
call inside of existing try/catch block)
  
  Revision  Changes    Path
  1.5       +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java
  
  Index: LogSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LogSource.java	2001/10/04 17:49:15	1.4
  +++ LogSource.java	2001/11/13 00:33:28	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v
1.4 2001/10/04 17:49:15 rwaldhoff Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/10/04 17:49:15 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v
1.5 2001/11/13 00:33:28 rwaldhoff Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/11/13 00:33:28 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -68,7 +68,7 @@
   
   /**
    * @author Rod Waldhoff
  - * @version $Id: LogSource.java,v 1.4 2001/10/04 17:49:15 rwaldhoff Exp $
  + * @version $Id: LogSource.java,v 1.5 2001/11/13 00:33:28 rwaldhoff Exp $
    */
   public class LogSource {
       static protected HashMap _logs = new HashMap();
  @@ -126,8 +126,8 @@
        */
       static public Log makeNewLogInstance(String name) {
           Log log = null;
  -        String logclassname = System.getProperty("httpclient.log","org.apache.commons.httpclient.log.NoOpLog");
           try {
  +            String logclassname = System.getProperty("httpclient.log","org.apache.commons.httpclient.log.NoOpLog");
               Class logclass = Class.forName(logclassname);
               Class[] argtypes = new Class[1];
               argtypes[0] = "".getClass();
  
  
  

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


Mime
View raw message