I'll also fix this.

You can use '%s' formats in checkState().
Preconditions.checkState(mPut == null,
        "There is already a transaction in progress on row %s. "
        + "Call commit(), checkAndCommit(), or rollback() to clear the Put.",
         mEntityId);