User: ejort   
  Date: 02/01/04 22:55:34

  Modified:    src/main/org/jboss/resource RARMetaData.java
  Log:
  Guarded debug logging
  
  Revision  Changes    Path
  1.13      +5 -3      jbosscx/src/main/org/jboss/resource/RARMetaData.java
  
  Index: RARMetaData.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosscx/src/main/org/jboss/resource/RARMetaData.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- RARMetaData.java  2001/11/26 03:24:52     1.12
  +++ RARMetaData.java  2002/01/05 06:55:34     1.13
  @@ -25,7 +25,7 @@
    *
    * @author     Toby Allsopp ([EMAIL PROTECTED])
    * @see        RARDeployer
  - * @version    $Revision: 1.12 $
  + * @version    $Revision: 1.13 $
    */
   public class RARMetaData
          implements XmlLoadable
  @@ -364,7 +364,8 @@
         Element permSpec = MetaData.getUniqueChild(element,
            "security-permission-spec");
         String spec = getElementContent(permSpec);
  -      category.debug("Ignoring security-permission("+spec+")");
  +      if (category.isDebugEnabled())
  +         category.debug("Ignoring security-permission("+spec+")");
      }
   
      private String getElementContent(Element element)
  @@ -450,7 +451,8 @@
            methodName.append(toTitleCase(tag.substring(last_hyphen + 1)));
         }
   
  -      category.debug("methodName = '" + methodName + "'");
  +      if (category.isDebugEnabled())
  +         category.debug("methodName = '" + methodName + "'");
   
         try
         {
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to