Append single space as a character rather than a String

Addresses the warning found by the new version of Sonar