mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 06:51:08 +01:00
Change FormField value(s) type from String to CharSequence
This commit is contained in:
parent
9b5dafe541
commit
1d88c857b5
12 changed files with 79 additions and 44 deletions
|
|
@ -723,10 +723,10 @@ public final class EntityCapsManager extends Manager {
|
|||
return new CapsVersionAndHash(version, hash);
|
||||
}
|
||||
|
||||
private static void formFieldValuesToCaps(List<String> i, StringBuilder sb) {
|
||||
SortedSet<String> fvs = new TreeSet<>();
|
||||
private static void formFieldValuesToCaps(List<CharSequence> i, StringBuilder sb) {
|
||||
SortedSet<CharSequence> fvs = new TreeSet<>();
|
||||
fvs.addAll(i);
|
||||
for (String fv : fvs) {
|
||||
for (CharSequence fv : fvs) {
|
||||
sb.append(fv);
|
||||
sb.append('<');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue