1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-27 06:22:07 +01:00

Remove annotations

This commit is contained in:
vanitasvitae 2017-08-20 15:19:09 +02:00
parent 27f6922cf6
commit c46bc6d6dd
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -28,9 +28,6 @@ import org.jivesoftware.smackx.hashes.HashManager;
import org.jivesoftware.smackx.hashes.element.HashElement;
import org.jivesoftware.smackx.jingle_filetransfer.element.JingleFileTransferChildElement;
import com.sun.istack.internal.NotNull;
import com.sun.istack.internal.Nullable;
/**
* Represent a file sent in a file transfer.
* This can be both LocalFile (available to the client), or RemoteFile (file not yet available).
@ -42,7 +39,7 @@ public class JingleFile {
private Date date;
private HashElement hashElement;
public static JingleFile fromFile(@NotNull File file, @Nullable String description, @Nullable String mediaType, @Nullable HashManager.ALGORITHM hashAlgorithm) throws NoSuchAlgorithmException, IOException {
public static JingleFile fromFile(File file, String description, String mediaType, HashManager.ALGORITHM hashAlgorithm) throws NoSuchAlgorithmException, IOException {
HashElement hashElement = null;
if (hashAlgorithm != null) {