Java integer ++i not changing the value | Hacker News Reader