minor typos
final keyword in Java