You can actually remove this method and just use `StringUtils::equals()` directly as its a private method.