1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Fix typo in StreamInitiation.setSesssionID()

Fixes SMACK-427
This commit is contained in:
Florian Schmaus 2014-02-10 14:00:08 +01:00
parent 7ba3c3d43f
commit 7bba6b7f91
3 changed files with 4 additions and 4 deletions

View file

@ -396,7 +396,7 @@ public class FileTransferNegotiator {
final String streamID, final String fileName, final long size,
final String desc, int responseTimeout) throws XMPPException {
StreamInitiation si = new StreamInitiation();
si.setSesssionID(streamID);
si.setSessionID(streamID);
si.setMimeType(URLConnection.guessContentTypeFromName(fileName));
StreamInitiation.File siFile = new StreamInitiation.File(fileName, size);

View file

@ -46,7 +46,7 @@ public class StreamInitiation extends IQ {
*
* @param id The "id" attribute.
*/
public void setSesssionID(final String id) {
public void setSessionID(final String id) {
this.id = id;
}
@ -54,7 +54,7 @@ public class StreamInitiation extends IQ {
* Uniquely identifies a stream initiation to the recipient.
*
* @return The "id" attribute.
* @see #setSesssionID(String)
* @see #setSessionID(String)
*/
public String getSessionID() {
return id;

View file

@ -113,7 +113,7 @@ public class StreamInitiationProvider implements IQProvider {
}
}
initiation.setSesssionID(id);
initiation.setSessionID(id);
initiation.setMimeType(mimeType);
initiation.setFeatureNegotiationForm(form);