Attempt to solve Bug #2795. review @dinhviethoa

review @dinhviethoa 
Remove those trailing spaces. In Chrome Dev Editor and Dart Editor, there's a setting "Remove trailing space".
It should help you get this rule applied automatically.