patchToText function
Take a list of patches and return a textual representation.
patches
is a List of Patch objects.
Returns a text representation of patches.
Implementation
String patchToText(List<Patch> patches) {
final text = new StringBuffer();
for (Patch aPatch in patches) {
text.write(aPatch);
}
return text.toString();
}