Assignment #1 - little code inspection

Inspection by IntelliJ IDEA.