1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-13 15:14:54 +02:00

XmlEnvironment: Use correct method to obatain effective namespace.

This commit is contained in:
Aditya Borikar 2020-08-08 20:14:39 +05:30
parent cf92566e26
commit c9cf4f1541

View file

@ -71,7 +71,7 @@ public class XmlEnvironment {
} }
public String getEffectiveNamespaceOrUse(String namespace) { public String getEffectiveNamespaceOrUse(String namespace) {
String effectiveNamespace = getEffectiveLanguage(); String effectiveNamespace = getEffectiveNamespace();
if (StringUtils.isNullOrEmpty(effectiveNamespace)) { if (StringUtils.isNullOrEmpty(effectiveNamespace)) {
return namespace; return namespace;
} }