Address SonarQube issues in file

GCP-10144

Reviewer : Cyrus Venn Casada