Simplify Your Apex Code With This “Empty” Utility
Sometimes the initialization of or assignment to String and List variables in Apex can be confusing. Checking for nulls, empty objects, and whitespace can be tedious and error-prone. This article discusses a utility method for simplifying the situation.