am 7644966a: Move verification of primitive type puts into helper method.

* commit '7644966addc0d7760baffc8897799f019981d74f':
  Move verification of primitive type puts into helper method.