From 5f58529c3a6e97619407552502bdb822acfd02e8 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 11 Apr 2018 09:55:56 +0200 Subject: [PATCH] Switch argument of VCard.setJabberId() to CharSequence instead of String. --- .../java/org/jivesoftware/smackx/vcardtemp/packet/VCard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/vcardtemp/packet/VCard.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/vcardtemp/packet/VCard.java index 4ef50b2c6..d264be306 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/vcardtemp/packet/VCard.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/vcardtemp/packet/VCard.java @@ -249,8 +249,8 @@ public class VCard extends IQ { return otherSimpleFields.get("JABBERID"); } - public void setJabberId(String jabberId) { - otherSimpleFields.put("JABBERID", jabberId); + public void setJabberId(CharSequence jabberId) { + otherSimpleFields.put("JABBERID", jabberId.toString()); } public String getOrganization() {