Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0
-
Component/s: o.c.jsword.book.sword
-
Labels:None
Description
This was raised a couple of weeks ago in a post from John. I will check in the simple fix if that is okay.
John:
With And-Bible, reading of the first dictionary key of dictionaries is failing because of: dictbook.contains(key).
The fix is in JSword's AbstractKeyBackend.java:
public boolean contains(Key key) { return indexOf(key) > 0; }
This should apparently be:
indexOf(key) >= 0;
This fixes the problem in And-Bible.
DM:
Thanks.
Some of the dictionaries have an intro for the first entry or have an empty first entry. My guess is that this attempted to account for that.