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
|
|
@ -341,7 +341,7 @@ public final class FileTransferNegotiator extends Manager {
|
|||
private StreamNegotiator getOutgoingNegotiator(final FormField field) throws NoAcceptableTransferMechanisms {
|
||||
boolean isByteStream = false;
|
||||
boolean isIBB = false;
|
||||
for (String variable : field.getValues()) {
|
||||
for (CharSequence variable : field.getValues()) {
|
||||
if (variable.equals(Bytestream.NAMESPACE) && !IBB_ONLY) {
|
||||
isByteStream = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue