Fix incorrect adapter example.

Closes #1668 Thanks @aprescott
Merge pull request #2107 from bmac/fix-adapter-example

Fix incorrect adapter example.