title: Check an replace null values in multiple variables java
body: <p>I'm trying to find an easy way to perform multiple null checks/ replacements in multiple variables in Java.</p>
  
  <p>I have an object with about 20 String variables.  In the constructor I want to check if any of the variable values are null. If they are null I want to replace them with an empty String.  I could perform a series of if statements but I feel like there must be a cleaner way to do this.</p>