From 3bef905ef5873b7d9dba2a5dc0bf6fa7671a2ddc Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 3 Mar 2021 21:43:43 +0100 Subject: [PATCH] [xmlparser-stax] Move getNamespace() to its friends within the file --- .../smack/xml/stax/StaxXmlPullParser.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/smack-xmlparser-stax/src/main/java/org/jivesoftware/smack/xml/stax/StaxXmlPullParser.java b/smack-xmlparser-stax/src/main/java/org/jivesoftware/smack/xml/stax/StaxXmlPullParser.java index 10f3453eb..e1282af0d 100644 --- a/smack-xmlparser-stax/src/main/java/org/jivesoftware/smack/xml/stax/StaxXmlPullParser.java +++ b/smack-xmlparser-stax/src/main/java/org/jivesoftware/smack/xml/stax/StaxXmlPullParser.java @@ -73,6 +73,12 @@ public final class StaxXmlPullParser implements XmlPullParser { return namespaceContext.getNamespaceURI(prefix); } + @Override + public String getNamespace() { + String prefix = getPrefix(); + return getNamespace(prefix); + } + @Override public int getDepth() { return depth; @@ -106,12 +112,6 @@ public final class StaxXmlPullParser implements XmlPullParser { return xmlStreamReader.getText(); } - @Override - public String getNamespace() { - String prefix = getPrefix(); - return getNamespace(prefix); - } - @Override public String getName() { QName qname = getQName();