Fixing all IntelliJ IDEA code quality warnings