Fixed warnings in StringUtils and StringUtilsTest.