mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
SINT: fix various typos in javadoc and comment
This commit is contained in:
parent
ec4caf6663
commit
806106534d
2 changed files with 6 additions and 6 deletions
|
@ -50,7 +50,7 @@ public abstract class AbstractSmackLowLevelIntegrationTest extends AbstractSmack
|
||||||
* Get a connected connection. Note that this method will return a connection constructed via the default connection
|
* Get a connected connection. Note that this method will return a connection constructed via the default connection
|
||||||
* descriptor. It is primarily meant for integration tests to discover if the XMPP service supports a certain
|
* descriptor. It is primarily meant for integration tests to discover if the XMPP service supports a certain
|
||||||
* feature, that the integration test requires to run. This feature discovery is typically done in the constructor of the
|
* feature, that the integration test requires to run. This feature discovery is typically done in the constructor of the
|
||||||
* integration tests. And if the discovery fails a {@link TestNotPossibleException} should be thrown by he constructor.
|
* integration tests. And if the discovery fails a {@link TestNotPossibleException} should be thrown by the constructor.
|
||||||
*
|
*
|
||||||
* <p> Please ensure that you invoke {@link #recycle(AbstractXMPPConnection connection)} once you are done with this connection.
|
* <p> Please ensure that you invoke {@link #recycle(AbstractXMPPConnection connection)} once you are done with this connection.
|
||||||
*
|
*
|
||||||
|
|
|
@ -494,7 +494,7 @@ public class SmackIntegrationTestFramework {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Throwable nonFatalFailureReason;
|
Throwable nonFatalFailureReason;
|
||||||
// junit assert's throw an AssertionError if they fail, those should not be
|
// junit asserts throw an AssertionError if they fail, those should not be
|
||||||
// thrown up, as it would be done by throwFatalException()
|
// thrown up, as it would be done by throwFatalException()
|
||||||
if (cause instanceof AssertionError) {
|
if (cause instanceof AssertionError) {
|
||||||
nonFatalFailureReason = cause;
|
nonFatalFailureReason = cause;
|
||||||
|
@ -594,8 +594,8 @@ public class SmackIntegrationTestFramework {
|
||||||
throw (InterruptedException) e;
|
throw (InterruptedException) e;
|
||||||
}
|
}
|
||||||
|
|
||||||
// We handle NullPointerException as a non fatal exception, as they are mostly caused by an invalid reply where
|
// We handle NullPointerException as a non-fatal exception, as they are mostly caused by an invalid reply where
|
||||||
// a extension element is missing. Consider for example
|
// an extension element is missing. Consider for example
|
||||||
// assertEquals(StanzaError.Condition.foo, response.getError().getCondition())
|
// assertEquals(StanzaError.Condition.foo, response.getError().getCondition())
|
||||||
// Otherwise NPEs could be caused by an internal bug in Smack, e.g. missing null handling.
|
// Otherwise NPEs could be caused by an internal bug in Smack, e.g. missing null handling.
|
||||||
if (e instanceof NullPointerException) {
|
if (e instanceof NullPointerException) {
|
||||||
|
@ -613,9 +613,9 @@ public class SmackIntegrationTestFramework {
|
||||||
public static final class TestRunResult {
|
public static final class TestRunResult {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A short String of lowercase characters and numbers used to identify a integration test
|
* A short String of lowercase characters and numbers used to identify an integration test
|
||||||
* run. We use lowercase characters because this string will eventually be part of the
|
* run. We use lowercase characters because this string will eventually be part of the
|
||||||
* localpart of the used JIDs (and the localpart is case insensitive).
|
* localpart of the used JIDs (and the localpart is case-insensitive).
|
||||||
*/
|
*/
|
||||||
public final String testRunId = StringUtils.insecureRandomString(5).toLowerCase(Locale.US);
|
public final String testRunId = StringUtils.insecureRandomString(5).toLowerCase(Locale.US);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue