Skip to content

Commit 3f5e321

Browse files
authored
chore: remove repeat words (XRPLF#5041)
1 parent 20d0549 commit 3f5e321

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

src/ripple/app/paths/impl/Steps.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Step
8989
subject to liquidity limits
9090
9191
@param sb view with the strand's state of balances and offers
92-
@param afView view the the state of balances before the strand runs
92+
@param afView view the state of balances before the strand runs
9393
this determines if an offer becomes unfunded or is found unfunded
9494
@param ofrsToRm offers found unfunded or in an error state are added to
9595
this collection
@@ -107,7 +107,7 @@ class Step
107107
subject to liquidity limits
108108
109109
@param sb view with the strand's state of balances and offers
110-
@param afView view the the state of balances before the strand runs
110+
@param afView view the state of balances before the strand runs
111111
this determines if an offer becomes unfunded or is found unfunded
112112
@param ofrsToRm offers found unfunded or in an error state are added to
113113
this collection
@@ -256,7 +256,7 @@ class Step
256256
Check that the step can correctly execute in the forward direction
257257
258258
@param sb view with the strands state of balances and offers
259-
@param afView view the the state of balances before the strand runs
259+
@param afView view the state of balances before the strand runs
260260
this determines if an offer becomes unfunded or is found unfunded
261261
@param in requested step input
262262
@return first element is true if step is valid, second element is out

src/ripple/ledger/impl/ApplyView.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ ApplyView::dirRemove(
313313
prev->setFieldU64(sfIndexNext, rootPage);
314314
update(prev);
315315

316-
// And the root points to the the last page:
316+
// And the root points to the last page:
317317
auto root = peek(keylet::page(directory, rootPage));
318318
if (!root)
319319
LogicError("Directory chain: root link broken.");

src/ripple/ledger/impl/PaymentSandbox.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ PaymentSandbox::balanceHook(
180180
algorithm remembers the original balance, and subtracts the debits. The
181181
post-switchover algorithm should be more numerically stable. Consider a
182182
large credit with a small initial balance. The pre-switchover algorithm
183-
computes (B+C)-C (where B+C will the the amount passed in). The
183+
computes (B+C)-C (where B+C will the amount passed in). The
184184
post-switchover algorithm returns B. When B and C differ by large
185185
magnitudes, (B+C)-C may not equal B.
186186
*/

src/test/app/NFToken_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6306,7 +6306,7 @@ class NFTokenBaseUtil_test : public beast::unit_test::suite
63066306
}
63076307

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

src/test/consensus/Consensus_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ class Consensus_test : public beast::unit_test::suite
806806
on(csf::PeerID who, csf::SimTime, csf::FullyValidateLedger const& e)
807807
{
808808
using namespace std::chrono;
809-
// As soon as the the fastC node fully validates C, disconnect
809+
// As soon as the fastC node fully validates C, disconnect
810810
// ALL c nodes from the network. The fast C node needs to disconnect
811811
// as well to prevent it from relaying the validations it did see
812812
if (who == groupCfast[0]->id &&

src/test/csf/BasicNetwork.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace csf {
5151
at either end of the connection will not be delivered.
5252
5353
When creating the Peer set, the caller needs to provide a
54-
Scheduler object for managing the the timing and delivery
54+
Scheduler object for managing the timing and delivery
5555
of messages. After constructing the network, and establishing
5656
connections, the caller uses the scheduler's step_* functions
5757
to drive messages through the network.

src/test/rpc/DepositAuthorized_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class DepositAuthorized_test : public beast::unit_test::suite
128128
depositAuthArgs(carol, becky).toStyledString()),
129129
false);
130130

131-
// becky clears the the DepositAuth flag so carol becomes authorized.
131+
// becky clears the DepositAuth flag so carol becomes authorized.
132132
env(fclear(becky, asfDepositAuth));
133133
env.close();
134134

0 commit comments

Comments
 (0)