Yes, I will add assertions at both the caller and the current method to ensure empty/null string is not allowed.