Adjusted publisher library to coding guidelines.

Change-Id: I11ea7f900130fc33f2faac50dca683bff63678ac