Skip to content

Commit 620fc1f

Browse files
authored
emulator: Fixes for typos.
These are mechanical fixes by typos(1). All tests continue to pass and everything still builds.
1 parent df0fa0d commit 620fc1f

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

google/cloud/bigtable/emulator/column_family.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ std::vector<Cell> ColumnFamilyRow::DeleteColumn(
8888
}
8989

9090
absl::optional<Cell> ColumnFamilyRow::DeleteTimeStamp(
91-
std::string const& column_qulifier, std::chrono::milliseconds timestamp) {
92-
auto column_it = columns_.find(column_qulifier);
91+
std::string const& column_qualifier, std::chrono::milliseconds timestamp) {
92+
auto column_it = columns_.find(column_qualifier);
9393
if (column_it == columns_.end()) {
9494
return absl::nullopt;
9595
}
@@ -155,14 +155,14 @@ std::vector<Cell> ColumnFamily::DeleteColumn(
155155
}
156156

157157
absl::optional<Cell> ColumnFamily::DeleteTimeStamp(
158-
std::string const& row_key, std::string const& column_qulifier,
158+
std::string const& row_key, std::string const& column_qualifier,
159159
std::chrono::milliseconds timestamp) {
160160
auto row_it = rows_.find(row_key);
161161
if (row_it == rows_.end()) {
162162
return absl::nullopt;
163163
}
164164

165-
auto ret = row_it->second.DeleteTimeStamp(column_qulifier, timestamp);
165+
auto ret = row_it->second.DeleteTimeStamp(column_qualifier, timestamp);
166166
if (!row_it->second.HasColumns()) {
167167
rows_.erase(row_it);
168168
}

google/cloud/bigtable/emulator/column_family.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class ColumnFamilyRow {
155155
* @return Cell representing deleted cell, if there was a cell with
156156
* that timestamp in then given column, otherwise absl::nullopt.
157157
*/
158-
absl::optional<Cell> DeleteTimeStamp(std::string const& column_qulifier,
158+
absl::optional<Cell> DeleteTimeStamp(std::string const& column_qualifier,
159159
std::chrono::milliseconds timestamp);
160160

161161
bool HasColumns() { return !columns_.empty(); }
@@ -268,7 +268,7 @@ class ColumnFamily {
268268
* otherwise absl::nullopt.
269269
*/
270270
absl::optional<Cell> DeleteTimeStamp(std::string const& row_key,
271-
std::string const& column_qulifier,
271+
std::string const& column_qualifier,
272272
std::chrono::milliseconds timestamp);
273273

274274
const_iterator begin() const { return rows_.begin(); }

google/cloud/bigtable/emulator/rollback_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ TEST(TransactonRollback, ZeroOrNegativeTimestampHandling) {
339339
status = SetCells(table, table_name, row_key_4, v);
340340
ASSERT_FALSE(status.ok());
341341

342-
// Test that a mutation with timestamp -1 suceeds and stores the
342+
// Test that a mutation with timestamp -1 succeeds and stores the
343343
// system time.
344344
v.clear();
345345
v = {

0 commit comments

Comments
 (0)