User: kimptoc 
  Date: 01/09/01 12:50:29

  Modified:    varia/src/main/org/jboss/jdo/castor CastorJDOImpl.java
  Log:
  remove deprecated logging import, where possible, otherwise comment as needing 
replacement with log4j.... must find out how it is use.... would be good if the 
deprecation message pointed to an example to use...
  
  Revision  Changes    Path
  1.3       +8 -10     contrib/varia/src/main/org/jboss/jdo/castor/CastorJDOImpl.java
  
  Index: CastorJDOImpl.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/contrib/varia/src/main/org/jboss/jdo/castor/CastorJDOImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CastorJDOImpl.java        2001/08/30 02:42:38     1.2
  +++ CastorJDOImpl.java        2001/09/01 19:50:29     1.3
  @@ -4,7 +4,7 @@
    * Distributable under LGPL license.
    * See terms of license at gnu.org.
    */
  - 
  +
   package org.jboss.jdo.castor;
   
   import java.io.PrintWriter;
  @@ -36,8 +36,6 @@
   import org.exolab.castor.persist.spi.LogInterceptor;
   import org.exolab.castor.xml.Unmarshaller;
   
  -import org.jboss.logging.Log;
  -import org.jboss.logging.Logger;
   import org.jboss.logging.LogWriter;
   import org.jboss.system.ServiceMBeanSupport;
   
  @@ -50,12 +48,12 @@
    *   Castor JDO support
    *
    *   @author Oleg Nitz ([EMAIL PROTECTED])
  - *   @version $Revision: 1.2 $
  + *   @version $Revision: 1.3 $
    */
  -public class CastorJDOImpl extends ServiceMBeanSupport 
  +public class CastorJDOImpl extends ServiceMBeanSupport
           implements DataObjects, ObjectFactory, Referenceable, Serializable,
                      CastorJDOImplMBean, MBeanRegistration, LogInterceptor {
  -   
  +
       private String _jndiName;
   
       private String _dbConf;
  @@ -87,7 +85,7 @@
               throws javax.management.MalformedObjectNameException {
           return new ObjectName(OBJECT_NAME+",name="+_jndiName);
       }
  -   
  +
       public String getName() {
           return "CastorJDO";
       }
  @@ -163,7 +161,7 @@
       public boolean getLoggingEnabled() {
           return (_jdo.getLogInterceptor() != null);
       }
  -   
  +
       public void setCommonClassPath(boolean commonClassPath) {
           _commonClassPath = commonClassPath;
       }
  @@ -223,12 +221,12 @@
               throws Exception {
           return _instances.get(name.toString());
       }
  -   
  +
           // Private -------------------------------------------------------
       private void bind(Context ctx, String name, Object val)
               throws NamingException {
           // Bind val to name in ctx, and make sure that all intermediate contexts 
exist
  -      
  +
           Name n = ctx.getNameParser("").parse(name);
           while (n.size() > 1)
           {
  
  
  

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

Reply via email to