Strip trailing whitespace.

2 files were modified.
Use '[]' instead of 'Array.new'
Convert double-quoted strings to single-quoted strings when there is no interpolation.