Problems were reported for StringHelper::startsWith and ::endsWith by Tommi Maekitalo on 2005-01-13 (
http://marc.theaimsgroup.com/?l=log4cxx-dev&m=110564942400296&w=2) and Bjorn Carlsson on 2005-03-09.
Prior to this patch StringHelper::startsWith("foo", "foo") would return false and StringHelper::endsWith() would fail for almost all cases, sometimes with range violations.