Browse Source

Remove annotations

jingle3
vanitasvitae 2 years ago
parent
commit
c46bc6d6dd
No known key found for this signature in database GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      smack-experimental/src/main/java/org/jivesoftware/smackx/jingle_filetransfer/component/JingleFile.java

+ 1
- 4
smack-experimental/src/main/java/org/jivesoftware/smackx/jingle_filetransfer/component/JingleFile.java 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) {


Loading…
Cancel
Save