public static String nonEmpty()

in sources/src/main/java/com/google/solutions/jitaccess/common/Coalesce.java [46:59]


  public static String nonEmpty(
    @Nullable String one,
    @Nullable String two
  ) {
    if (one != null && !one.isEmpty()) {
      return one;
    }
    else if (two != null && !two.isEmpty()) {
      return two;
    }
    else {
      return EMPTY;
    }
  }