java_cert: Remove redundant return (#52879)
java_cert: Remove redundant return (#52879)

* Remove redundant return statements for module.exit_json
* Doc changes
* Typo fixes
* Refactor for check_mode

Based upon work of pilou-

Signed-off-by: Abhijeet Kasurde <6334fd0c217b1f2a15926284df229acde5b4fc3a@redhat.com>
thaim/ansible,thaim/ansible