Git ignores files. why haven’t java files been ignored? What do you think of gitignore file?

  git, question
# built application files
 *.apk
 *.ap_
 
 # files for the dex VM
 *.dex
 
 # Java class files
 *.class
 
 # generated files
 bin/
 gen/
 
 # Local configuration file (sdk path, etc)
 local.properties
 
 # Eclipse project files
 proguard-project.txt
 
 # Proguard folder generated by Eclipse
 proguard/
 
 # Intellij project files
 *.iml
 *.ipr
 *.iws
 .idea/

You only ignored the *.class file compiled by java, not *.java