Fixed spelling mistakes found by IntelliJ IDEA's static code analysis.