Liangent has uploaded a new change for review. Change subject: Fix various boundary cases in IcuCollation::findLowerBound() ......................................................................
Fix various boundary cases in IcuCollation::findLowerBound() Fix the following edge cases which were previously broken: * Zero-length input array * Target value before the start * Target value past the end They didn't really matter for my original application, but Liangent wants to use this function for something else. Change-Id: Ia5f5ed4ab3cb6c463177a4812fd3ce96c6d37b33 --- M includes/Collation.php 1 file changed, 13 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/91/28491/1 -- To view, visit https://gerrit.wikimedia.org/r/28491 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia5f5ed4ab3cb6c463177a4812fd3ce96c6d37b33 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: chinese-collation Gerrit-Owner: Liangent <liang...@gmail.com> Gerrit-Reviewer: Tim Starling <tstarl...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits