ignore hidden files and non-java files in hashcode calculation for test case