mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-09-27 18:19:33 +02:00
Merge pull request #419 from adiaholic/bugFix
XmlEnvironment: Use correct method to obatain effective namespace.
This commit is contained in:
commit
f00804ef72
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue