Removed junk .java~ files and added filter to .gitignore.
Changed .gitignore.