Can you make that if (devPort == null) { (with spaces). That's just the convention. Sounds strange maybe - but those tiny things help to keep the codebase nice in the long run :)