Update lintHook.py

Search for `java` not `txt` files.
Merge pull request #1 from mananshah99/patch-1

Was testing on .txt files; need for .java files.