Other java style warnings.

Other warnings, except for unused local/member variable warnings.

ArrayList without type gives an Xlint:unchecked warning.