Remove annotations

这个提交包含在:
vanitasvitae 2017-08-20 15:19:09 +02:00
父节点 27f6922cf6
当前提交 c46bc6d6dd
签署人:: vanitasvitae
GPG 密钥 ID: 62BEE9264BF17311
共有 1 个文件被更改,包括 1 次插入4 次删除

查看文件

@ -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) {