Remove checking .java inside src/{main,test}/java

Sometime there's only .aj inside src/main/java, so the checks are not required.