public static String emptyToNull(String string) {
    return string == null || string.isEmpty() ? null : string;
  }
Adapted from {@code com.google.common.base.Strings#emptyToNull}.
core/src/main/java/feign/Util.java