formatting code

Change-Id: I944605c159fd10b1f5929b1e4d9454ed2d6bce8b
Reviewed-on: http://review.couchbase.org/41493
Reviewed-by: John Liang <johliang00@gmail.com>
Tested-by: John Liang <johliang00@gmail.com>