Source: https://github.com/github/codeql/blob/main/java/ql/src/Performance/InefficientEmptyStringTest.ql