Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Chapter.Comparators might need to be improved #268

Closed
xtj-9182 opened this issue May 20, 2016 · 3 comments
Closed

Chapter.Comparators might need to be improved #268

xtj-9182 opened this issue May 20, 2016 · 3 comments

Comments

@xtj-9182
Copy link
Contributor

add Futari Ecchi from SenManga. When trying to click on it in the Mainfragment this exception gets thrown:

java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeLo(TimSort.java:761) at java.util.TimSort.mergeAt(TimSort.java:497) at java.util.TimSort.mergeCollapse(TimSort.java:424) at java.util.TimSort.sort(TimSort.java:210) at java.util.Arrays.sort(Arrays.java:1998) at java.util.Collections.sort(Collections.java:1900) at ar.rulosoft.mimanganu.MangaFragment$SortAndLoadChapters.doInBackground(MangaFragment.java:624) at ar.rulosoft.mimanganu.MangaFragment$SortAndLoadChapters.doInBackground(MangaFragment.java:615) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

xtj-9182 added a commit to xtj-9182/MiMangaNu that referenced this issue May 20, 2016
@raulhaag
Copy link
Owner

raulhaag commented May 21, 2016

i see that numeration prety bad and unusual

raulhaag added a commit that referenced this issue May 21, 2016
@xtj-9182
Copy link
Contributor Author

The exception is still thrown but it looks much better now.

@xtj-9182
Copy link
Contributor Author

it's good enough for now I think, marking as closed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants