Skip to content

Commit 0fc6fc2

Browse files
committed
Fix example
1 parent 01ffd2d commit 0fc6fc2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

data/part-8/2-hash-map.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,8 @@ text = text.trim(); // text nyt "ylpeys ja ennakkoluulo"
673673
``` -->
674674
```java
675675
String text = "Pride and Prejudice ";
676-
text = text.toLowerCase(); // text currently "Pride and Prejudice "
677-
text = text.trim(); // text now "Pride and Prejudice"
676+
text = text.toLowerCase(); // text currently "pride and prejudice "
677+
text = text.trim(); // text now "pride and prejudice"
678678
```
679679

680680
<!-- Edellä kuvatun merkkijonon muunnoksen johdosta kirja löytyy, vaikka käyttäjä kirjoittaisi kirjan nimen pienillä kirjaimilla.

0 commit comments

Comments
 (0)