[jboss-cvs] jboss-seam/src/main/org/jboss/seam/util ...

Norman Richards norman.richards at jboss.com
Fri Dec 15 21:58:13 EST 2006


  User: nrichards
  Date: 06/12/15 21:58:13

  Modified:    src/main/org/jboss/seam/util    DTDEntityResolver.java
                        Naming.java Work.java
  Log:
  update logging
  
  Revision  Changes    Path
  1.2       +4 -4      jboss-seam/src/main/org/jboss/seam/util/DTDEntityResolver.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: DTDEntityResolver.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/util/DTDEntityResolver.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- DTDEntityResolver.java	10 Nov 2006 19:07:01 -0000	1.1
  +++ DTDEntityResolver.java	16 Dec 2006 02:58:13 -0000	1.2
  @@ -1,12 +1,12 @@
  -//$Id: DTDEntityResolver.java,v 1.1 2006/11/10 19:07:01 gavin Exp $
  +//$Id: DTDEntityResolver.java,v 1.2 2006/12/16 02:58:13 nrichards Exp $
   //Contributed by Markus Meissner
   package org.jboss.seam.util;
   
   import java.io.InputStream;
   import java.io.Serializable;
   
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
  +import org.jboss.seam.log.LogProvider;
  +import org.jboss.seam.log.Logging;
   import org.xml.sax.EntityResolver;
   import org.xml.sax.InputSource;
   
  @@ -28,7 +28,7 @@
    */
   public class DTDEntityResolver implements EntityResolver, Serializable {
   
  -	private static final Log log = LogFactory.getLog( DTDEntityResolver.class );
  +	private static final LogProvider log = Logging.getLogProvider(DTDEntityResolver.class );
   
   	private static final String HIBERNATE_NAMESPACE = "http://jboss.com/products/seam/";
   	private static final String USER_NAMESPACE = "classpath://";
  
  
  
  1.5       +3 -3      jboss-seam/src/main/org/jboss/seam/util/Naming.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Naming.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/util/Naming.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- Naming.java	20 Jun 2006 10:51:38 -0000	1.4
  +++ Naming.java	16 Dec 2006 02:58:13 -0000	1.5
  @@ -11,12 +11,12 @@
   import javax.naming.InitialContext;
   import javax.naming.NamingException;
   
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
  +import org.jboss.seam.log.LogProvider;
  +import org.jboss.seam.log.Logging;
   
   public final class Naming {
      
  -    private static final Log log = LogFactory.getLog(Naming.class);
  +    private static final LogProvider log = Logging.getLogProvider(Naming.class);
       private static Hashtable initialContextProperties;
   
       public static InitialContext getInitialContext(Hashtable<String, String> props) throws NamingException {
  
  
  
  1.2       +3 -3      jboss-seam/src/main/org/jboss/seam/util/Work.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Work.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/util/Work.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Work.java	15 Oct 2006 16:30:45 -0000	1.1
  +++ Work.java	16 Dec 2006 02:58:13 -0000	1.2
  @@ -2,12 +2,12 @@
   
   import javax.transaction.UserTransaction;
   
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
  +import org.jboss.seam.log.LogProvider;
  +import org.jboss.seam.log.Logging;
   
   public abstract class Work<T>
   {
  -   private static final Log log = LogFactory.getLog(Work.class);
  +   private static final LogProvider log = Logging.getLogProvider(Work.class);
      
      protected abstract T work() throws Exception;
      
  
  
  



More information about the jboss-cvs-commits mailing list