Fixed some coding style
Merge pull request #1 from ding2tal/core-pr-3

Core pr 3 (merge with Artesis)
Merge branch 'master' into release