Code Cleanup:
- remove e.printStackTrace() from catch block
- add comment inside empty methods
- put the string literals at the start for the string comparison

GCP-10337

Reviewer: Mae Isabelle Turiana