mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-12 19:59:40 +02:00
's;^\s+$;;' on all source files
And add checkstyle test for lines containing only whitespace characters.
This commit is contained in:
parent
05c97c494b
commit
0fde39fa45
193 changed files with 1066 additions and 1062 deletions
|
@ -361,7 +361,7 @@ public class ChatConnectionTest {
|
|||
@Override
|
||||
public void chatCreated(Chat chat, boolean createdLocally) {
|
||||
newChat = chat;
|
||||
|
||||
|
||||
if (listener != null)
|
||||
newChat.addMessageListener(listener);
|
||||
reportInvoked();
|
||||
|
@ -371,7 +371,7 @@ public class ChatConnectionTest {
|
|||
return newChat;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private class TestChatServer extends Thread {
|
||||
private Stanza chatPacket;
|
||||
private DummyConnection con;
|
||||
|
@ -390,18 +390,18 @@ public class ChatConnectionTest {
|
|||
private class TestMessageListener implements ChatMessageListener {
|
||||
private Chat msgChat;
|
||||
private int counter = 0;
|
||||
|
||||
|
||||
@Override
|
||||
public void processMessage(Chat chat, Message message) {
|
||||
msgChat = chat;
|
||||
counter++;
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public Chat getChat() {
|
||||
return msgChat;
|
||||
}
|
||||
|
||||
|
||||
public int getNumMessages() {
|
||||
return counter;
|
||||
}
|
||||
|
|
|
@ -422,7 +422,7 @@ public class RosterTest extends InitSmackIm {
|
|||
assertSame("Shouldn't provide an empty group element!",
|
||||
0,
|
||||
item.getGroupNames().size());
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
serverSimulator.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue