Java files are listed in the known file types (using ag --list-file-types) but aren't aren't returned in the ag search results below unless I use the -t flag (-a and -U also return Java files in the results). Is this expected behavior? I have .gitignore files strewn about but this Java file is not being ignored in any of those files.
~/src $ ag "ACADEMIC"|grep java
~/src $ ag "ACADEMIC" -t|grep java
{path}/StudentRowMapper.java:23: Student.setAcademicLevel(rs.getString("ACADEMIC_LEVEL"));