Changed string comparison to use equals(), as per sonar
Merge pull request #13 from rsingla92/string-compare-refactor

Changed string comparison to use equals(), as per sonar