1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 18:29:45 +02:00

Enable trailing whitespace checkstyle check

for all source code regions, including javadoc.
This commit is contained in:
Florian Schmaus 2018-05-09 23:06:12 +02:00
parent 9d61a6de7d
commit e8923b9d16
545 changed files with 3713 additions and 3715 deletions

View file

@ -19,7 +19,7 @@ package org.igniterealtime.smack.inttest;
public class TestNotPossibleException extends Exception {
/**
*
*
*/
private static final long serialVersionUID = 1L;

View file

@ -38,7 +38,7 @@ import org.junit.BeforeClass;
/**
* Tests for Chat Manager and for Chat Manager Listener.
*
*
* @author Stawicki Adam
*/
public class ChatTest extends AbstractSmackIntegrationTest {
@ -87,28 +87,28 @@ public class ChatTest extends AbstractSmackIntegrationTest {
assertEquals("Subjects are different", msg.getSubject(), msg2.getSubject());
assertEquals("Bodies are different", msg.getBody(), msg2.getBody());
assertEquals(
"favoriteColors are different",
"favoriteColors are different",
getProperty(msg, "favoriteColor"),
getProperty(msg2, "favoriteColor"));
assertEquals(
"ages are different",
getProperty(msg, "age"),
"ages are different",
getProperty(msg, "age"),
getProperty(msg2, "age"));
assertEquals(
"distances are different",
getProperty(msg, "distance"),
"distances are different",
getProperty(msg, "distance"),
getProperty(msg2, "distance"));
assertEquals(
"weights are different",
getProperty(msg, "weight"),
"weights are different",
getProperty(msg, "weight"),
getProperty(msg2, "weight"));
assertEquals(
"males are different",
getProperty(msg, "male"),
"males are different",
getProperty(msg, "male"),
getProperty(msg2, "male"));
assertEquals(
"birthdates are different",
getProperty(msg, "birthdate"),
"birthdates are different",
getProperty(msg, "birthdate"),
getProperty(msg2, "birthdate"));
}

View file

@ -43,12 +43,12 @@ public class LoginIntegrationTest extends AbstractSmackLowLevelIntegrationTest {
* Check that the server is returning the correct error when trying to login using an invalid
* (i.e. non-existent) user.
*
* @throws InterruptedException
* @throws XMPPException
* @throws IOException
* @throws SmackException
* @throws NoSuchAlgorithmException
* @throws KeyManagementException
* @throws InterruptedException
* @throws XMPPException
* @throws IOException
* @throws SmackException
* @throws NoSuchAlgorithmException
* @throws KeyManagementException
*/
@SmackIntegrationTest
public void testInvalidLogin() throws SmackException, IOException, XMPPException,

View file

@ -124,12 +124,12 @@ public class EntityCapsTest extends AbstractSmackIntegrationTest {
/**
* Test if entity caps actually prevent a disco info request and reply.
*
*
* @throws XMPPException
* @throws InterruptedException
* @throws NotConnectedException
* @throws NoResponseException
*
* @throws InterruptedException
* @throws NotConnectedException
* @throws NoResponseException
*
*/
@SmackIntegrationTest
public void testPreventDiscoInfo() throws Exception {

View file

@ -52,8 +52,8 @@ public class IoTControlIntegrationTest extends AbstractSmackIntegrationTest {
/**
* Connection one provides a thing, which is controlled by connection two.
*
* @throws Exception
* @throws TimeoutException
* @throws Exception
* @throws TimeoutException
*/
@SmackIntegrationTest
// @SmackSerialIntegrationTest

View file

@ -54,8 +54,8 @@ public class IoTDataIntegrationTest extends AbstractSmackIntegrationTest {
/**
* Connection one provides a thing, which momentary value is read out by connection two.
*
* @throws Exception
* @throws TimeoutException
* @throws Exception
* @throws TimeoutException
*/
@SmackIntegrationTest
public void dataTest() throws Exception {

View file

@ -17,9 +17,9 @@
/**
* XEP-0313: Message Archive Management.
*
*
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
* Archive Management</a>
*
*
*/
package org.jivesoftware.smackx.mam;

View file

@ -53,7 +53,7 @@ public class OmemoInitializationTest extends AbstractOmemoIntegrationTest {
/**
* Tests, if the initialization is done properly.
* @throws NotAPubSubNodeException
* @throws NotAPubSubNodeException
*/
@SmackIntegrationTest
public void initializationTest() throws XMPPException.XMPPErrorException, PubSubException.NotALeafNodeException, SmackException.NotConnectedException, InterruptedException, SmackException.NoResponseException, SmackException.NotLoggedInException, CorruptedOmemoKeyException, NotAPubSubNodeException {

View file

@ -86,7 +86,7 @@ public class OmemoMessageSendingTest extends AbstractOmemoIntegrationTest {
* @throws UndecidedOmemoIdentityException
* @throws NoSuchAlgorithmException
* @throws CryptoFailedException
* @throws NotAPubSubNodeException
* @throws NotAPubSubNodeException
*/
@SmackIntegrationTest
public void messageSendingTest()

View file

@ -19,7 +19,7 @@
* XMPP logic and some abstract crypto classes that have to be implemented
* using concrete crypto libraries (like signal-protocol-java or olm).
* See smack-omemo-signal for a concrete implementation (GPL licensed).
*
*
* @author Paul Schaub
* @see <a href="https://conversations.im/xeps/multi-end.html">XEP-0384: OMEMO</a>
*/

View file

@ -34,7 +34,7 @@ import org.igniterealtime.smack.inttest.SmackIntegrationTestEnvironment;
/**
* Tests the DataForms extensions.
*
*
* @author Gaston Dombiak
*/
public class FormTest extends AbstractSmackIntegrationTest {
@ -48,8 +48,8 @@ public class FormTest extends AbstractSmackIntegrationTest {
* 2. Retrieve the form to fill out, complete it and return it to the requestor
* 3. Retrieve the completed form and check that everything is OK
*
* @throws InterruptedException
* @throws NotConnectedException
* @throws InterruptedException
* @throws NotConnectedException
*/
@SuppressWarnings("deprecation")
@SmackIntegrationTest

View file

@ -62,7 +62,7 @@ public class ResultSyncPointTest {
private static class TestException extends Exception {
/**
*
*
*/
private static final long serialVersionUID = 1L;