Revert "Simplified the conditional"

This reverts commit 186ba96ff76e815cfaa52bc0db78b5544a1e189f.
Added an Eclipse.gitignore file.