mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 15:01:07 +01:00
Bump "Error Prone" to 2.0.15
and fix a few things :)
This commit is contained in:
parent
ef0af66b21
commit
4c646436a5
246 changed files with 1122 additions and 124 deletions
|
|
@ -40,6 +40,7 @@ import java.util.List;
|
|||
public class XHTMLManager {
|
||||
static {
|
||||
XMPPConnectionRegistry.addConnectionCreationListener(new ConnectionCreationListener() {
|
||||
@Override
|
||||
public void connectionCreated(XMPPConnection connection) {
|
||||
// Enable the XHTML support on every established connection
|
||||
XHTMLManager.setServiceEnabled(connection, true);
|
||||
|
|
|
|||
|
|
@ -400,6 +400,7 @@ public class XHTMLText {
|
|||
*
|
||||
* @return the text of the XHTMLText
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return text.toString();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ public class XHTMLExtension implements ExtensionElement {
|
|||
*
|
||||
* @return the XML element name of the stanza(/packet) extension.
|
||||
*/
|
||||
@Override
|
||||
public String getElementName() {
|
||||
return ELEMENT;
|
||||
}
|
||||
|
|
@ -58,6 +59,7 @@ public class XHTMLExtension implements ExtensionElement {
|
|||
*
|
||||
* @return the XML namespace of the stanza(/packet) extension.
|
||||
*/
|
||||
@Override
|
||||
public String getNamespace() {
|
||||
return NAMESPACE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue