User: ejort   
  Date: 02/01/05 04:08:50

  Modified:    src/main/org/jboss/deployment/scope Scope.java
  Log:
  Guarded debug logging
  
  Revision  Changes    Path
  1.7       +6 -5      jboss/src/main/org/jboss/deployment/scope/Scope.java
  
  Index: Scope.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/deployment/scope/Scope.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Scope.java        2001/12/05 22:29:59     1.6
  +++ Scope.java        2002/01/05 12:08:50     1.7
  @@ -26,7 +26,7 @@
    *     share classes) to this scope class 
    *  c) is optimized by caching the locations.
    * @author  cgjung
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
    */
   
   public class Scope {
  @@ -139,10 +139,11 @@
                   deps=new HashSet();
                   dependencies.put(target,deps);
               }
  -            
  -            log.debug("Adding dependency from deployment 
"+source+":"+source.deployment.getLocalUrl()+" to deployment "+
  -                target+":"+target.deployment.getLocalUrl());
  -            
  +
  +            if (log.isDebugEnabled())
  +               log.debug("Adding dependency from deployment 
"+source+":"+source.deployment.getLocalUrl()+" to deployment "+
  +                  target+":"+target.deployment.getLocalUrl());
  +
               return deps.add(source);
           } else
               return false;
  
  
  

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

Reply via email to