Already fixed in Search 6: the class was moved to org.hibernate.search.util.impl.common.StringHelper, which is an internal package.