costin      01/06/12 08:01:02

  Modified:    jasper34/generator/org/apache/jasper34/core Constants.java
  Log:
  Removed container callbacks. Constants are constants.
  
  Revision  Changes    Path
  1.5       +0 -67     
jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Constants.java
  
  Index: Constants.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Constants.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Constants.java    2001/06/09 21:17:48     1.4
  +++ Constants.java    2001/06/12 15:01:01     1.5
  @@ -191,72 +191,5 @@
       public static final String IE_PLUGIN_URL = 
           
"http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0";;
   
  -    /**
  -     * This is where all our error messages and such are stored. 
  -     */
  -    private static StringManager resources;
  -    
  -    private static void initResources() {
  -     // XXX bug in StringManager and ResourceBundle, class loader
  -     // can't be passed !
  -        resources = StringManager.getManager(
  -                    "org.apache.jasper34.runtime.res");
  -    }
  -
  -    /**
  -     * Get hold of a "message" or any string from our resources
  -     * database. 
  -     */
  -    public static final String getString(String key) {
  -        return getString(key, null);
  -    }
  -
  -    /**
  -     * Format the string that is looked up using "key" using "args". 
  -     */
  -    public static final String getString(String key, Object[] args) {
  -        if(resources==null){
  -            initResources();
  -        }
  -        return resources.getString(key,args);
  -    }
  -
  -    /** 
  -     * Print a message into standard error with a certain verbosity
  -     * level. 
  -     * 
  -     * @param key is used to look up the text for the message (using
  -     *            getString()). 
  -     * @param verbosityLevel is used to determine if this output is
  -     *                       appropriate for the current verbosity
  -     *                       level. 
  -     */
  -    public static final void message(String key, int verbosityLevel) {
  -        message(key, null, verbosityLevel);
  -    }
  -
  -
  -    /**
  -     * Print a message into standard error with a certain verbosity
  -     * level after formatting it using "args". 
  -     *
  -     * @param key is used to look up the message. 
  -     * @param args is used to format the message. 
  -     * @param verbosityLevel is used to determine if this output is
  -     *                       appropriate for the current verbosity
  -     *                       level. 
  -     */
  -    public static final void message(String key, Object[] args, int verbosityLevel) 
{
  -         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);
  -        }
  -    }
  -
  -    public static Log jasperLog = null;
   }
   
  
  
  

Reply via email to