Fixing 2 typos in codec documentation.

This is just a small PR which fixes two typos in the codec javadoc blocks.