1 Reply Latest reply on Jun 15, 2007 1:12 PM by David Lloyd

    Forums wrap code sections! yuck!

    David Lloyd Master

       

      Index: src/main/java/org/jboss/virtual/plugins/context/AbstractVirtualFileHandler.java
      ===================================================================
      --- src/main/java/org/jboss/virtual/plugins/context/AbstractVirtualFileHandler.java (revision 63535)
      +++ src/main/java/org/jboss/virtual/plugins/context/AbstractVirtualFileHandler.java (working copy)
      @@ -53,7 +53,7 @@
       public abstract class AbstractVirtualFileHandler implements VirtualFileHandler
       {
       /** The log */
      - protected Logger log = Logger.getLogger(getClass());
      + protected static final Logger log = Logger.getLogger(AbstractVirtualFileHandler.class);
       /** serialVersionUID */
       private static final long serialVersionUID = 1L;
       /** The class serial fields */
      @@ -397,7 +397,5 @@
       this.context = factory.getVFS(rootURI);
       this.references = new AtomicInteger(0);
       this.vfsUrl = (URL)fields.get("vfsUrl", null);
      - // Restore the log
      - log = Logger.getLogger(getClass());
       }
       }
      


        • 1. Re: Forums wrap code sections! yuck!
          David Lloyd Master

          Test:

          10:
          ==========
          50:
          ==================================================
          100:
          ====================================================================================================
          110:
          ==============================================================================================================

          10:
          ==========
          50:
          ==================================================
          100:
          ====================================================================================================
          110:
          ==============================================================================================================