Update lintHook.py

Search for `java` not `txt` files.