/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.pool2;

/**
 * A base class for common functionality.
 * 
 * @since 2.4.3
 */
public abstract class BaseObject {

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append(getClass().getSimpleName());
        builder.append(" [");
        toStringAppendFields(builder);
        builder.append("]");
        return builder.toString();
    }

    protected void toStringAppendFields(StringBuilder builder) {
        // do nothing by default, needed for b/w compatibility.
    }

}

@@ -1,11 +1,10 @@
 /*
-%0D
 %0A * Lice
@@ -65,17 +65,16 @@
  or more
-%0D
 %0A * cont
@@ -134,25 +134,24 @@
 ributed with
-%0D
 %0A * this wor
@@ -209,17 +209,16 @@
 nership.
-%0D
 %0A * The 
@@ -284,17 +284,16 @@
 sion 2.0
-%0D
 %0A * (the
@@ -356,17 +356,16 @@
 nce with
-%0D
 %0A * the 
@@ -413,21 +413,19 @@
 cense at
-%0D
 %0A *
-%0D
 %0A *     
@@ -471,13 +471,11 @@
 -2.0
-%0D
 %0A *
-%0D
 %0A * 
@@ -541,17 +541,16 @@
 software
-%0D
 %0A * dist
@@ -610,17 +610,16 @@
 %22 BASIS,
-%0D
 %0A * WITH
@@ -686,17 +686,16 @@
 implied.
-%0D
 %0A * See 
@@ -757,17 +757,16 @@
 ions and
-%0D
 %0A * limi
@@ -791,22 +791,20 @@
 License.
-%0D
 %0A */
-%0D
 %0Apackage
@@ -833,16 +833,13 @@
 ol2;
-%0D%0A%0D
+%0A
 %0A/**
-%0D
 %0A * 
@@ -880,14 +880,12 @@
 ity.
-%0D
 %0A * 
-%0D
 %0A * 
@@ -900,14 +900,12 @@
 .4.3
-%0D
 %0A */
-%0D
 %0Apub
@@ -935,19 +935,17 @@
 Object %7B
-%0D%0A%0D
+%0A
 %0A    @Ov
@@ -950,17 +950,16 @@
 Override
-%0D
 %0A    pub
@@ -981,17 +981,16 @@
 ring() %7B
-%0D
 %0A       
@@ -1034,17 +1034,16 @@
 ilder();
-%0D
 %0A       
@@ -1086,17 +1086,16 @@
 Name());
-%0D
 %0A       
@@ -1116,17 +1116,16 @@
 d(%22 %5B%22);
-%0D
 %0A       
@@ -1155,17 +1155,16 @@
 uilder);
-%0D
 %0A       
@@ -1184,17 +1184,16 @@
 nd(%22%5D%22);
-%0D
 %0A       
@@ -1219,26 +1219,23 @@
 tring();
-%0D
 %0A    %7D
-%0D%0A%0D
+%0A
 %0A    pro
@@ -1291,17 +1291,16 @@
 ilder) %7B
-%0D
 %0A       
@@ -1359,18 +1359,14 @@
 ity.
-%0D
 %0A    %7D
-%0D%0A%0D
+%0A
 %0A%7D
-%0D
 %0A

Set svn:eol-style = native on Java files. No functional change.