Skip to content

Commit

Permalink
chore: remove repeat words (XRPLF#5041)
Browse files Browse the repository at this point in the history
  • Loading branch information
todaymoon authored and vlntb committed Aug 23, 2024
1 parent 0d6ee9c commit 55fc4ad
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
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

0 comments on commit 55fc4ad

Please sign in to comment.