Skip to content

Commit 3881246

Browse files
committed
fixed checkstyle issues
1 parent db4b17e commit 3881246

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/jackson/modules/PathCurrencySerializerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void testSerializeMptIssue() throws IOException {
9292
}
9393

9494
@Test
95-
void testSerializeCurrencyIssueThrowsIOException() throws IOException {
95+
void testSerializeCurrencyIssueThrowsIoException() throws IOException {
9696
JsonGenerator jsonGeneratorMock = mock(JsonGenerator.class);
9797
PathCurrency pathCurrency = PathCurrency.of("USD");
9898

@@ -110,7 +110,7 @@ void testSerializeCurrencyIssueThrowsIOException() throws IOException {
110110
}
111111

112112
@Test
113-
void testSerializeMptIssueThrowsIOException() throws IOException {
113+
void testSerializeMptIssueThrowsIoException() throws IOException {
114114
JsonGenerator jsonGeneratorMock = mock(JsonGenerator.class);
115115
MpTokenIssuanceId mptId = MpTokenIssuanceId.of("00000002430427B80BD2D09D36B70B969E12801065F22308");
116116
PathCurrency pathCurrency = PathCurrency.of(MptIssue.of(mptId));

xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/ledger/IssueTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ void testHandleWithNullCurrencyIssueHandler() {
210210

211211
NullPointerException exception = assertThrows(
212212
NullPointerException.class,
213-
() -> currencyIssue.handle(null, mi -> {})
213+
() -> currencyIssue.handle(null, mi -> { })
214214
);
215215
}
216216

@@ -221,7 +221,7 @@ void testHandleWithNullMptIssueHandler() {
221221

222222
NullPointerException exception = assertThrows(
223223
NullPointerException.class,
224-
() -> mptIssue.handle(ci -> {}, null)
224+
() -> mptIssue.handle(ci -> { }, null)
225225
);
226226
}
227227

@@ -248,7 +248,7 @@ void testHandleWithUnsupportedIssueType() {
248248

249249
IllegalStateException exception = assertThrows(
250250
IllegalStateException.class,
251-
() -> unsupportedIssue.handle(ci -> {}, mi -> {})
251+
() -> unsupportedIssue.handle(ci -> { }, mi -> { })
252252
);
253253

254254
assertThat(exception.getMessage()).contains("Unsupported Issue Type");

0 commit comments

Comments
 (0)