Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repeat words #5041

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ripple/app/paths/impl/Steps.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Step
subject to liquidity limits

@param sb view with the strand's state of balances and offers
@param afView view the the state of balances before the strand runs
@param afView view the state of balances before the strand runs
this determines if an offer becomes unfunded or is found unfunded
@param ofrsToRm offers found unfunded or in an error state are added to
this collection
Expand All @@ -107,7 +107,7 @@ class Step
subject to liquidity limits

@param sb view with the strand's state of balances and offers
@param afView view the the state of balances before the strand runs
@param afView view the state of balances before the strand runs
this determines if an offer becomes unfunded or is found unfunded
@param ofrsToRm offers found unfunded or in an error state are added to
this collection
Expand Down Expand Up @@ -256,7 +256,7 @@ class Step
Check that the step can correctly execute in the forward direction

@param sb view with the strands state of balances and offers
@param afView view the the state of balances before the strand runs
@param afView view the state of balances before the strand runs
this determines if an offer becomes unfunded or is found unfunded
@param in requested step input
@return first element is true if step is valid, second element is out
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/ledger/impl/ApplyView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ ApplyView::dirRemove(
prev->setFieldU64(sfIndexNext, rootPage);
update(prev);

// And the root points to the the last page:
// And the root points to the last page:
auto root = peek(keylet::page(directory, rootPage));
if (!root)
LogicError("Directory chain: root link broken.");
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/ledger/impl/PaymentSandbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ PaymentSandbox::balanceHook(
algorithm remembers the original balance, and subtracts the debits. The
post-switchover algorithm should be more numerically stable. Consider a
large credit with a small initial balance. The pre-switchover algorithm
computes (B+C)-C (where B+C will the the amount passed in). The
computes (B+C)-C (where B+C will the amount passed in). The
post-switchover algorithm returns B. When B and C differ by large
magnitudes, (B+C)-C may not equal B.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/test/app/NFToken_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6306,7 +6306,7 @@ class NFTokenBaseUtil_test : public beast::unit_test::suite
}

// When an account mints and burns a batch of NFTokens using tickets,
// see if the the account can be deleted.
// see if the account can be deleted.
{
Env env{*this, features};

Expand Down
2 changes: 1 addition & 1 deletion src/test/consensus/Consensus_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ class Consensus_test : public beast::unit_test::suite
on(csf::PeerID who, csf::SimTime, csf::FullyValidateLedger const& e)
{
using namespace std::chrono;
// As soon as the the fastC node fully validates C, disconnect
// As soon as the fastC node fully validates C, disconnect
// ALL c nodes from the network. The fast C node needs to disconnect
// as well to prevent it from relaying the validations it did see
if (who == groupCfast[0]->id &&
Expand Down
2 changes: 1 addition & 1 deletion src/test/csf/BasicNetwork.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace csf {
at either end of the connection will not be delivered.

When creating the Peer set, the caller needs to provide a
Scheduler object for managing the the timing and delivery
Scheduler object for managing the timing and delivery
of messages. After constructing the network, and establishing
connections, the caller uses the scheduler's step_* functions
to drive messages through the network.
Expand Down
2 changes: 1 addition & 1 deletion src/test/rpc/DepositAuthorized_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class DepositAuthorized_test : public beast::unit_test::suite
depositAuthArgs(carol, becky).toStyledString()),
false);

// becky clears the the DepositAuth flag so carol becomes authorized.
// becky clears the DepositAuth flag so carol becomes authorized.
env(fclear(becky, asfDepositAuth));
env.close();

Expand Down
Loading