title: How to set empty string as Java enum value?
body: <p>I am facing a problem when handling with empty java string as java enum value. Its throwing IllegalArgumentException when reading the "" data.</p>
  
  <pre><code>updateType = records.get(11);
  UpdateMethodType updateMethod = null;
  String empty = "";
  if (updateType != null || !updateType.isEmpty()) {
      System.out.println("Update type -----&gt;" + updateType);
      updateMethod = KalturaUpdateMethodType.valueOf(updateType);
  } else {
      updateMethod = KalturaUpdateMethodType.valueOf(empty);
  }
  </code></pre>
  
  <p>Please help me resolving this.</p>