Skip to content

Commit 0815b12

Browse files
committed
Fix checkstyle
Signed-off-by: David Fuelling <sappenin@gmail.com>
1 parent 60276e6 commit 0815b12

File tree

1 file changed

+10
-5
lines changed
  • xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/transactions

1 file changed

+10
-5
lines changed

xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/transactions/Batch.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ default void validateInnerTransactionPublicKeys() {
138138

139139
Preconditions.checkArgument(
140140
!firstTransactionWithNonEmptyPublicKey.isPresent(),
141-
"Each inner transaction in a Batch must have an empty SigningPublicKey. Found transaction with non-empty SigningPublicKey: %s",
141+
"Each inner transaction in a Batch must have an empty SigningPublicKey. " +
142+
"Found transaction with non-empty SigningPublicKey: %s",
142143
firstTransactionWithNonEmptyPublicKey.orElse(null)
143144
);
144145
}
@@ -252,7 +253,8 @@ default void validateOuterSigner() {
252253

253254
Preconditions.checkArgument(
254255
!firstSignerMatchingOuterAccount.isPresent(),
255-
"The Account submitting a Batch transaction must not sign any inner transactions. Found BatchSigner matching outer account: %s",
256+
"The Account submitting a Batch transaction must not sign any inner transactions. " +
257+
"Found BatchSigner matching outer account: %s",
256258
firstSignerMatchingOuterAccount.orElse(null)
257259
);
258260
}
@@ -315,7 +317,8 @@ default void validateNoDuplicateTransactions() {
315317

316318
Preconditions.checkArgument(
317319
uniqueTransactionCount == this.rawTransactions().size(),
318-
"RawTransactions must not contain duplicate transactions. Found %s unique transactions out of %s total.",
320+
"RawTransactions must not contain duplicate transactions. " +
321+
"Found %s unique transactions out of %s total.",
319322
uniqueTransactionCount,
320323
this.rawTransactions().size()
321324
);
@@ -328,7 +331,8 @@ default void validateNoDuplicateTransactions() {
328331
default void validateBatchSignersSize() {
329332
Preconditions.checkArgument(
330333
this.batchSigners().size() <= this.rawTransactions().size(),
331-
"BatchSigners must not contain more entries than RawTransactions. Found %s BatchSigners but only %s RawTransactions.",
334+
"BatchSigners must not contain more entries than RawTransactions. " +
335+
"Found %s BatchSigners but only %s RawTransactions.",
332336
this.batchSigners().size(),
333337
this.rawTransactions().size()
334338
);
@@ -374,7 +378,8 @@ default void validateBatchSignersHaveInnerTransactions() {
374378

375379
Preconditions.checkArgument(
376380
!firstInvalidSigner.isPresent(),
377-
"BatchSigners must only contain signatures from accounts that have inner transactions. Found BatchSigner with no inner transactions: %s",
381+
"BatchSigners must only contain signatures from accounts that have inner transactions. " +
382+
"Found BatchSigner with no inner transactions: %s",
378383
firstInvalidSigner.orElse(null)
379384
);
380385
}

0 commit comments

Comments
 (0)