1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-12-06 21:21:08 +01:00

Add "whitespace after comma" checkstyle rule

This commit is contained in:
Florian Schmaus 2019-05-17 21:56:46 +02:00
parent db5f6f648c
commit f7762c5db7
37 changed files with 59 additions and 58 deletions

View file

@ -180,7 +180,7 @@ public class MessageMarkupTest extends SmackTestSuite {
public void listWrongSecondEntryTest() {
MarkupElement.Builder m = MarkupElement.getBuilder();
assertThrows(IllegalArgumentException.class, () ->
m.beginList().addEntry(0,1).addEntry(3,4));
m.beginList().addEntry(0, 1).addEntry(3, 4));
}
@Test
@ -190,7 +190,7 @@ public class MessageMarkupTest extends SmackTestSuite {
"<bquote start='9' end='32'/>" +
"</markup>";
MarkupElement.Builder m = MarkupElement.getBuilder();
m.setBlockQuote(9 ,32);
m.setBlockQuote(9, 32);
assertXmlSimilar(xml, m.build().toXML().toString());
XmlPullParser parser = TestUtils.getParser(xml);