Trailing whitespaces has been removed from the validation messages

Change-Id: Ie20ca7ee8f24942e88d5abe4c3d9b0748621fc20