* commit 'fcba23536b1b432a5977e1ba4ea70ae0ff5aed4a': Remove uncalled function -- java counterpart of the fix for bug:4183801