refactoring: remove class StringList
minor code style fix