title: Null array to empty list
body: <p><code>Arrays.asList(E[] e)</code> returns a view of the array as a <code>List</code>, but when array is null it throws a <code>NullPointerException</code>.</p>
  
  <pre><code>Arrays.asList(null); //NullPointerException.
  </code></pre>
  
  <p>Actually I'm doing</p>
  
  <pre><code> List list = possibleNullArray != null ? Arrays.asList(possibleNullArray) : Collections.EMPTY_LIST;
  </code></pre>
  
  <p>However, creating a Utility class in my project only for this purpose is a thing that I prefer not to do. Is there some utility Class, or library like Apache Commons or Guava to convert null arrays to empty <code>List</code>? (i.e. a null-safe converter between arrays and Collections).</p>
  
  <p>How would you solve this problem?</p>