Tim Starling 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/15/27515/1
--
To view, visit https://gerrit.wikimedia.org/r/27515
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: master
Gerrit-Owner: Tim Starling <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to