public LinkedList<Patch> patch_make(LinkedList<Diff> diffs) {
    if (diffs == null) {
      throw new IllegalArgumentException("Null inputs. (patch_make)");
    }
    // No origin string provided, compute our own.
    String text1 = diff_text1(diffs);
    return patch_make(text1, diffs);
  }
Compute a list of patches to turn text1 into text2.
text1 will be derived from the provided diffs.

@param diffs Array of Diff objects for text1 to text2.
@return LinkedList of Patch objects.
src/burp/Utils/diff_match_patch.java