mjmwired/google-diff-match-patch

Java: patch_fromText() returns List<>, but patch_apply() takes LinkedList<>

Opened this issue · 0 comments

Title says it all. Because of this, fromText() can never be used for anything. 
The solution is very simple. On lines 2216 and 2218, replace List with 
LinkedList.

<Needless ramble> This is a really major (if easily-fixed) bug. How could it be 
in the code? Is this what all Google code is like? No wonder my Galaxy Nexus 
stopped charging.

Original issue reported on code.google.com by adubin...@almson.net on 8 Dec 2012 at 2:19