Fix code samples

Closes-Bug: #1283713

Change-Id: Ie22f9a51ac0894ee545cfc23fe45c4e7bb092110
author: diane fleming