Merge pull request #111 from shannah/issue_110

Issue 110
This commit is contained in:
Alexey Andreev 2015-05-13 11:06:35 +03:00
commit 120207532e

View File

@ -253,6 +253,9 @@ public class TCollections extends TObject {
}
int l = 0;
int u = list.size() - 1;
if (u < 0) {
return -1;
}
while (true) {
int i = (l + u) / 2;
T e = list.get(i);