Checkstyle for examples.
Merge pull request #1789 from gregrluck/master

Checkstyle for examples.