code: public static long toLong(@Nullable final String longStr, final long defaultLong) {
          return StringUtils.isNoneEmpty(longStr) ? toLong(longStr) : defaultLong;
      }
docs: If the long integer string is null or empty, it returns the defaultLong otherwise it returns the long integer value (see toLong)
  
  @param longStr     the long integer to convert
  @param defaultLong the default value if the longStr is null or the empty string
  @return the long integer value of the string or the defaultLong if the long integer string is empty
  @throws IllegalArgumentException if the passed long integer string is not a valid long integer