User: starksm Date: 01/11/25 19:24:54 Modified: varia/src/main/org/jboss/jdo/castor CastorJDOImpl.java Log: Drop the org.jboss.ejb.DeploymentException in favor of the org.jboss.deployment.DeploymentException class. Use the org.jboss.logging.Logger.getLogger factory method. Revision Changes Path 1.7 +6 -4 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.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- CastorJDOImpl.java 2001/10/11 01:02:17 1.6 +++ CastorJDOImpl.java 2001/11/26 03:24:54 1.7 @@ -48,7 +48,7 @@ * Castor JDO support * * @author Oleg Nitz ([EMAIL PROTECTED]) - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public class CastorJDOImpl extends ServiceMBeanSupport implements DataObjects, ObjectFactory, Referenceable, Serializable, @@ -342,9 +342,11 @@ log.error("Exception", except); } - public PrintWriter getPrintWriter() { - if (writer == null) { - writer = new CategoryWriter(log); + public PrintWriter getPrintWriter() + { + if (writer == null) + { + writer = new CategoryWriter(log.getCategory()); } return writer; }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development