Commit thinking in java's string chapter.