1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +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 streamID, final String fileName, final long size,
final String desc, int responseTimeout) throws XMPPException { final String desc, int responseTimeout) throws XMPPException {
StreamInitiation si = new StreamInitiation(); StreamInitiation si = new StreamInitiation();
si.setSesssionID(streamID); si.setSessionID(streamID);
si.setMimeType(URLConnection.guessContentTypeFromName(fileName)); si.setMimeType(URLConnection.guessContentTypeFromName(fileName));
StreamInitiation.File siFile = new StreamInitiation.File(fileName, size); StreamInitiation.File siFile = new StreamInitiation.File(fileName, size);

View file

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

View file

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