1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 10:37:59 +01:00

Switch argument of VCard.setJabberId() to CharSequence

instead of String.
This commit is contained in:
Florian Schmaus 2018-04-11 09:55:56 +02:00
parent 2674161255
commit 5f58529c3a

View file

@ -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() {