From 9b170a5486204b314bb4672f22eefd41eed658d3 Mon Sep 17 00:00:00 2001 From: vijay-qlogic Date: Fri, 17 Aug 2018 12:04:49 +0530 Subject: [PATCH] added code-review updates --- samples/document-snippets/row.js | 22 +++++++++++----------- samples/document-snippets/tests/row.js | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/samples/document-snippets/row.js b/samples/document-snippets/row.js index 5872bdb02..f5136c396 100644 --- a/samples/document-snippets/row.js +++ b/samples/document-snippets/row.js @@ -30,7 +30,7 @@ const snippets = { let apiResponse = result[0]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_create_row] @@ -72,7 +72,7 @@ const snippets = { let apiResponse = result[0]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_create_rules] @@ -91,7 +91,7 @@ const snippets = { let apiResponse = data[0]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_delete_all_cells] @@ -119,7 +119,7 @@ const snippets = { let apiResponse = result[0]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_delete_particular_cells] @@ -139,7 +139,7 @@ const snippets = { let exists = result[0]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_row_exists] @@ -186,7 +186,7 @@ const snippets = { var matched = data[0]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_row_filter] @@ -206,7 +206,7 @@ const snippets = { let row = result[0]; }) .catch(err => { - // handle error + // Handle the error. }); //- @@ -222,7 +222,7 @@ const snippets = { // let row = result[0]; // }) // .catch(err => { - // // handle error + // // Handle the error. // }); // [END bigtable_get_row] @@ -244,7 +244,7 @@ const snippets = { let apiResponse = result[1]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_get_row_meta] @@ -280,7 +280,7 @@ const snippets = { let apiResponse = result[1]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_row_increment] @@ -304,7 +304,7 @@ const snippets = { let apiResponse = result[0]; }) .catch(err => { - // handle error + // Handle the error. }); // [END bigtable_row_save] diff --git a/samples/document-snippets/tests/row.js b/samples/document-snippets/tests/row.js index 5f215125b..0287612a6 100644 --- a/samples/document-snippets/tests/row.js +++ b/samples/document-snippets/tests/row.js @@ -1,5 +1,5 @@ /** - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2018 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.