mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-27 06:22:07 +01:00
Remove annotations
This commit is contained in:
parent
27f6922cf6
commit
c46bc6d6dd
1 changed files with 1 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue