USPTO / PatentPublicData

Utility tools to help download and parse patent data made available to the public
Other
182 stars 80 forks source link

Handle leading and trailing whitespace in title. #85

Closed jvd10 closed 5 years ago

jvd10 commented 5 years ago

Leading whitespace in the title resulted in StringIndexOutOfBoundsException when title contained leading whitespace. Fix by using String.trim() before splitting on whitespace in toTitleCase method.