diff --git a/src/main/java/org/apache/commons/collections4/sequence/CommandVisitor.java b/src/main/java/org/apache/commons/collections4/sequence/CommandVisitor.java index e0535f8568..f1b4dd4487 100644 --- a/src/main/java/org/apache/commons/collections4/sequence/CommandVisitor.java +++ b/src/main/java/org/apache/commons/collections4/sequence/CommandVisitor.java @@ -105,7 +105,7 @@ * } * * public String toString() { - * StringBuffer buffer = new StringBuffer(); + * StringBuilder buffer = new StringBuilder(); * for (Iterator iter = v.iterator(); iter.hasNext();) { * buffer.append(' ').append(iter.next()); * }