Skip to content

Commit

Permalink
Remove gendered terms (#4813)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMGiroux authored and GitHub Enterprise committed Jul 10, 2024
1 parent 06a469e commit 5cb4010
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 44 deletions.
4 changes: 2 additions & 2 deletions groups/bal/ball/ball_recordjsonformatter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ BSLS_IDENT_RCSID(ball_recordjsonformatter_cpp,"$Id$ $CSID$")
// },
// "format": {
// "description":
// "Display the time in either in he 'bdePrint'
// or ISO 8601 format.",
// "Display the time in either in the
// 'bdePrint' or ISO 8601 format.",
// "type": "string",
// "enum": ["bdePrint", "iso8601"]
// }
Expand Down
2 changes: 1 addition & 1 deletion groups/bal/balxml/balxml_formatter.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ BSLS_IDENT("$Id: $")
// formatter.closeElement("Fruits");
//..
// Indentation is correctly taken care of and the user need only concern
// her/himself with the correct ordering of the XML elements s/he's trying to
// themselves with the correct ordering of the XML elements they're trying to
// write. The output of the above example is:
//..
// +--bsl::cout--------------------------------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion groups/bal/balxml/balxml_formatter.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ int main(int argc, char *argv[])
formatter.closeElement("Fruits");
//..
// Indentation is correctly taken care of and the user only needs to concern
// her/himself with the correct ordering of XML elements s/he's trying
// themselves with the correct ordering of XML elements they're trying
// to write. The output of the above example is:
//..
const char EXPECTED1[] =
Expand Down
38 changes: 19 additions & 19 deletions groups/bsl/bslstl/bslstl_stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ BSLS_IDENT("$Id: $")
//
///Example 1: Household Chores To Do List
/// - - - - - - - - - - - - - - - - - - -
// Suppose a husband wants to keep track of chores his wife has asked him to
// do. Over the years of being married, he has noticed that his wife generally
// wants the most recently requested task done first. If she has a new task in
// mind that is low-priority, she will avoid asking for it until higher
// priority tasks are finished. When he has finished all tasks, he is to
// report to his wife that he is ready for more.
// Suppose someone wants to keep track of chores their partner has asked them
// to do. Over the years, they have noticed that their partner generally wants
// the most recently requested task done first. If the partner has a new task
// in mind that is low-priority, they will avoid asking for it until higher
// priority tasks are finished. When they have finished all tasks, they report
// to their partner that they are ready for more.
//
// First, we define the class implementing the to-do list.
//..
Expand Down Expand Up @@ -241,41 +241,41 @@ BSLS_IDENT("$Id: $")
// toDoList.enqueueTask("Change the car's oil.");
// toDoList.enqueueTask("Pay the bills.");
//..
// Then, the husband watches the Yankee's game on TV. Upon returning to the
// list he consults the list to see what task is up next:
// Then, they watch the Yankee's game on TV. Upon returning to the list they
// consult the list to see what task is up next:
//..
// assert(!strcmp("Pay the bills.", toDoList.currentTask()));
//..
// Next, he sees that he has to pay the bills. When the bills are finished, he
// flushes that task from the list:
// Next, they see that they have to pay the bills. When the bills are
// finished, they flush that task from the list:
//..
// assert(false == toDoList.finishTask());
//..
// Then, he consults the list for the next task.
// Then, they consult the list for the next task.
//..
// assert(!strcmp("Change the car's oil.", toDoList.currentTask()));
//..
// Next, he sees he has to change the car's oil. Before he can get started,
// another request comes:
// Next, they see that they have to change the car's oil. Before they can get
// started, another request comes in:
//..
// toDoList.enqueueTask("Get some hot dogs.");
// assert(!strcmp("Get some hot dogs.", toDoList.currentTask()));
//..
// Then, he drives the car to the convenience store and picks up some hot dogs
// and buns. Upon returning home, he gives the hot dogs to his wife, updates
// the list, and consults it for the next task.
// Then, they drive the car to the convenience store and picks up some hot dogs
// and buns. Upon returning home, they give the hot dogs to their partner,
// update the list, and consult it for the next task.
//..
// assert(false == toDoList.finishTask());
// assert(!strcmp("Change the car's oil.", toDoList.currentTask()));
//..
// Next, he finishes the oil change, updates the list, and consults it for the
// Next, they finish the oil change, update the list, and consult it for the
// next task.
//..
// assert(true == toDoList.finishTask());
// assert(!strcmp("<EMPTY>", toDoList.currentTask()));
//..
// Finally, the wife has now been informed that everything is done, and she
// makes another request:
// Finally, their partner has now been informed that everything is done, and
// they make another request:
//..
// toDoList.enqueueTask("Clean the rain gutters.");
//..
Expand Down
42 changes: 21 additions & 21 deletions groups/bsl/bslstl/bslstl_stack.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2076,14 +2076,14 @@ bool isCalledMethodCheckPassed(CalledMethod flag)
// USAGE EXAMPLE
//=============================================================================

// Suppose a husband wants to keep track of chores his wife has asked him to
// do. Over the years of being married, he has noticed that his wife generally
// wants the most recently requested task done first. If she has a new task in
// mind that is low-priority, she will avoid asking for it until higher
// priority tasks are finished. When he has finished all tasks, he is to
// report to his wife that he is ready for more.

// First, we define the class implementing the 'to-do' list.
// Suppose someone wants to keep track of chores their partner has asked them
// to do. Over the years, they have noticed that their partner generally wants
// the most recently requested task done first. If the partner has a new task
// in mind that is low-priority, they will avoid asking for it until higher
// priority tasks are finished. When they have finished all tasks, they report
// to their partner that they are ready for more.
//
// First, we define the class implementing the to-do list.

class ToDoList {
// DATA
Expand Down Expand Up @@ -6880,41 +6880,41 @@ int main(int argc, char *argv[])
toDoList.enqueueTask("Change the car's oil.");
toDoList.enqueueTask("Pay the bills.");

// Then, the husband watches the Yankee's game on TV. Upon returning
// to the list he consults the list to see what task is up next:
// Then, they watch the Yankee's game on TV. Upon returning to the
// list they consult the list to see what task is up next:

ASSERT(!strcmp("Pay the bills.", toDoList.currentTask()));

// Next, he sees that he has to pay the bills. When the bills are
// finished, he flushes that task from the list:
// Next, they see that they have to pay the bills. When the bills are
// finished, they flush that task from the list:

ASSERT(false == toDoList.finishTask());

// Then, he consults the list for the next task.
// Then, they consult the list for the next task.

ASSERT(!strcmp("Change the car's oil.", toDoList.currentTask()));

// Next, he sees he has to change the car's oil. Before he can get
// started, another request comes:
// Next, they see that they have to change the car's oil. Before they
// can get started, another request comes in:

toDoList.enqueueTask("Get some hot dogs.");
ASSERT(!strcmp("Get some hot dogs.", toDoList.currentTask()));

// Then, he drives the car to the convenience store and picks up some
// hot dogs and buns. Upon returning home, he gives the hot dogs to
// his wife, updates the list, and consults it for the next task.
// Then, they drive the car to the convenience store and picks up some
// hot dogs and buns. Upon returning home, they give the hot dogs to
// their partner, update the list, and consult it for the next task.

ASSERT(false == toDoList.finishTask());
ASSERT(!strcmp("Change the car's oil.", toDoList.currentTask()));

// Next, he finishes the oil change, updates the list, and consults it
// Next, they finish the oil change, update the list, and consult it
// for the next task.

ASSERT(true == toDoList.finishTask());
ASSERT(!strcmp("<EMPTY>", toDoList.currentTask()));

// Finally, the wife has been informed that everything is done, and she
// makes another request:
// Finally, their partner has now been informed that everything is
// done, and they make another request:

toDoList.enqueueTask("Clean the rain gutters.");
} break;
Expand Down

0 comments on commit 5cb4010

Please sign in to comment.