CADbloke / google-diff-match-patch

Automatically exported from code.google.com/p/google-diff-match-patch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

GoogleCodeExporter opened this issue · 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