Small update of two Java classes.

Just update of two Java classes to make commit on them.