curran / curran/google-diff-match-patch

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

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Python
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

Description

```
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.

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.