1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-24 23:32:05 +01:00

Fix typo in XmppElementUtil

This commit is contained in:
Paul Schaub 2020-04-13 18:18:31 +02:00
parent 32ae0d8826
commit 905d5dc102
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -49,7 +49,7 @@ public class XmppElementUtil {
namespace = (String) fullyQualifiedElement.getField("NAMESPACE").get(null); namespace = (String) fullyQualifiedElement.getField("NAMESPACE").get(null);
} }
catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException e) { catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException e) {
throw new IllegalArgumentException("The class" + fullyQualifiedElement + " has no ELEMENT, NAMSEPACE or QNAME member. Consider adding QNAME", e); throw new IllegalArgumentException("The class" + fullyQualifiedElement + " has no ELEMENT, NAMESPACE or QNAME member. Consider adding QNAME", e);
} }
return new QName(namespace, element); return new QName(namespace, element);