This line 
boolean bite = false; 
should be replaced by
final boolean bite;
This simplyfies code reading, because the first assignment to false is never used and after the first change it won't be changed anymore.