Build: #632 was successful
Job: Default Job was successful
Code commits
Smack (master)
-
Florian Schmaus <flo@geekplace.eu> 3e74d11b45fc796984dcc2e8142c3bafad2919fe
Disable MucMemoryLeakTest
Although it it not that unreliable, it causes false negatives once in
a while. This is because the standard Java SE API does not provide a
way to force a *full* garbage collection run, we need to resort to
unreliable hacks to trigger one.
The test itself is still useful to diagnose or refute alleged memory
leaks.
This commit also move the test from JUnit 4 to Junit 5. -
Florian Schmaus <flo@geekplace.eu> efb206f7bd6d7951ad025e59201cae4733a87e10
Use Locale.getDefault() to initialize the language
-
Georg Lukas <georg@op-co.de> 6a0e0f0f67b3faaa4c4061ba4de6f0c298c424a8
Implement xml:lang support in ConnectionConfiguration and AbstractXMPPConnection
This patch makes it possible to change the stream-level language as part
of the connection configuration, to allow a properly implemented
entities to provide i18n'ed response messages. The Locale type is used
for this configuration, and the effective language string can be
obtained via `ConnectionConfiguration.getXmlLang()`.
This code does not cover XMPPBOSHConnection!
Signed-off-by: Georg Lukas <georg@op-co.de> -
Florian Schmaus <flo@geekplace.eu> 12cbeede57c195042111b000d41277b3fd3b8be5
Use Enum.toString() in XmlStringBuilder.element(String, Enum)
as toString() is often overriden by Enums to yield the expected XMPP
wire protocol representation.