/*
 * Copyright (C) The Apache Software Foundation. All rights reserved.
 *
 * This software is published under the terms of the Apache Software
 * License version 1.1, a copy of which has been included with this
 * distribution in the LICENSE.txt file.  */

package org.apache.log4j.or;

/**
   The default Renderer renders objects by calling their
   <code>toString</code> method.

   @author Ceki G&uuml;lc&uuml;
   @since 1.0 */
class DefaultRenderer implements ObjectRenderer {
  
  DefaultRenderer() {
  }

  /**
     Render the object passed as parameter by calling its
     <code>toString</code> method.  */
  public
  String doRender(Object o) {
    return o.toString();
  }
}  

@@ -1,13 +1,241 @@
 /*%0A *
+ ============================================================================%0A *                   The Apache Software License, Version 1.1%0A * ============================================================================%0A *%0A *   
  Copyrig
@@ -240,16 +240,21 @@
 ight (C)
+ 1999
  The Apa
@@ -309,58 +309,711 @@
 %0A * 
-This software is published under the terms of
+Redistribution and use in source and binary forms, with or without modifica-%0A * tion, are permitted provided that the following conditions are met:%0A *%0A * 1. Redistributions of  source code must  retain the above copyright  notice,%0A *    this list of conditions and the following disclaimer.%0A *%0A * 2. Redistributions in binary form must reproduce the above copyright notice,%0A *    this list of conditions and the following disclaimer in the documentation%0A *    and/or other materials provided with the distribution.%0A *%0A * 3. The end-user documentation included with the redistribution, if any, must%0A *    include  the following  acknowledgment:  %22This product includes  software%0A *    developed  by
  the 
+ 
 Apac
@@ -1027,118 +1027,1672 @@
 ware
-%0A * License version 1.1, a copy of which has been included with this%0A * distribution in the LICENSE.txt file. 
+ Foundation  (http://www.apache.org/).%22%0A *    Alternately, this  acknowledgment may  appear in the software itself,  if%0A *    and wherever such third-party acknowledgments normally appear.%0A *%0A * 4. The names %22log4j%22 and  %22Apache Software Foundation%22  must not be used to%0A *    endorse  or promote  products derived  from this  software without  prior%0A *    written permission. For written permission, please contact%0A *    apache@apache.org.%0A *%0A * 5. Products  derived from this software may not  be called %22Apache%22, nor may%0A *    %22Apache%22 appear  in their name,  without prior written permission  of the%0A *    Apache Software Foundation.%0A *%0A * THIS SOFTWARE IS PROVIDED %60%60AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,%0A * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND%0A * FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE%0A * APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,%0A * INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-%0A * DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS%0A * OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON%0A * ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT%0A * (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF%0A * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%0A *%0A * This software  consists of voluntary contributions made  by many individuals%0A * on  behalf of the Apache Software  Foundation.  For more  information on the%0A * Apache Software Foundation, please see %3Chttp://www.apache.org/%3E.%0A *%0A
  */%0A
@@ -2722,16 +2722,17 @@
 4j.or;%0A%0A
+%0A
 /**%0A   T
@@ -2917,19 +2917,16 @@
 derer %7B%0A
-  %0A
   Defaul
@@ -3055,18 +3055,16 @@
   public
-%0A 
  String 
@@ -3114,11 +3114,9 @@
 );%0A  %7D%0A%7D
-  
 %0A

Formatting with Jalopy.