Put } and else on the same line.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137301 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2003-04-18 04:57:19 +00:00
parent 5f0560cb60
commit 9263c5eda7

View File

@ -82,7 +82,7 @@
*
* @author Stephen Colebourne
* @since 1.0
* @version $Id: ToStringStyle.java,v 1.12 2003/04/08 22:34:53 ggregory Exp $
* @version $Id: ToStringStyle.java,v 1.13 2003/04/18 04:57:19 bayard Exp $
*/
public abstract class ToStringStyle implements Serializable {
@ -333,8 +333,7 @@ protected void appendInternal(StringBuffer buffer, String fieldName, Object valu
&& !(value instanceof Number || value instanceof Boolean || value instanceof Character)) {
appendAsObjectToString(buffer, value);
}
else if (value instanceof Collection) {
} else if (value instanceof Collection) {
if (detail) {
appendDetail(buffer, fieldName, (Collection) value);
} else {