Fixed weird compiler issue between Eclipse (which is probably wrong) and IntelliJ (which is probably right)