Currently OpenMRS has Sonar for openmrs-core, which shows bad code practices such as print stack trace and etc. The objective of this task to fix small bad code styles using rules configured in Sonar or Findbugs and correct them. OpenMRS Sonar shows a list of bad code practices which we can fix.
Resolve 5 issues shown in Sonar for openmrs-core to complete this task.
Create a pull request against openmrs-core/master using Git.
Consider following the Pull Request Tips so that your pull request is directed towards the master branch. These will be reviewed and merged at a later time.
For help with Git: Using Git Guide for OpenMRS
Use a separate pull request for each type or category of issues.