Skip to content

Commit f99a481

Browse files
committed
Update koans/src/beginner/AboutStrings.java
Removing bad advice in AboutStrings
1 parent b312a48 commit f99a481

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎koans/src/beginner/AboutStrings.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void stringConcatenation() {
4848
@Koan
4949
public void stringBuilderCanActAsAMutableString() {
5050
// StringBuilder concatenation looks uglier, but is useful when you need a
51-
// mutable String like object. It used to be more efficient than using +,
51+
// mutable String like object. It used to be more efficient than using +
5252
// to concatate numerous strings, however this is optimized in the compiler now.
5353
// Usually + concatenation is more appropriate than StringBuilder.
5454
assertEquals(new StringBuilder("one").append(" ").append("two").toString(), __);

0 commit comments

Comments
 (0)