tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From melaqu...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper Constants.java
Date Fri, 23 Mar 2001 23:00:10 GMT
melaquias    01/03/23 15:00:10

  Modified:    src/share/org/apache/jasper Constants.java
  Log:
  Oops.  Fix to put in missing {} or won't compile!
  
  Revision  Changes    Path
  1.20      +7 -6      jakarta-tomcat/src/share/org/apache/jasper/Constants.java
  
  Index: Constants.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/Constants.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Constants.java	2001/03/23 22:58:09	1.19
  +++ Constants.java	2001/03/23 23:00:10	1.20
  @@ -239,13 +239,14 @@
        *                       level. 
        */
       public static final void message(String key, Object[] args, int verbosityLevel) {
  -	if (jasperLog == null)
  -	    jasperLog = Log.getLog("JASPER_LOG", null);
  +	    if (jasperLog == null)
  +	        jasperLog = Log.getLog("JASPER_LOG", null);
   
  -	if (jasperLog != null)
  -	    String msg = getString(key,args);
  -	    msg=(msg==null)?key:msg;
  -	    jasperLog.log(msg, verbosityLevel);
  +	    if (jasperLog != null){
  +	        String msg = getString(key,args);
  +	        msg=(msg==null)?key:msg;
  +	        jasperLog.log(msg, verbosityLevel);
  +        }
       }
   
       public static Log jasperLog = null;
  
  
  

Mime
View raw message