suppress findbugs

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2019-02-19 10:01:44 +01:00
parent b34c0d1c98
commit 5afa099d3b
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -75,6 +75,7 @@ import javax.crypto.NoSuchPaddingException;
import androidx.annotation.NonNull;
import androidx.core.app.NotificationCompat;
import androidx.core.app.NotificationManagerCompat;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
public class NotificationJob extends Job {
public static final String TAG = "NotificationJob";
@ -276,6 +277,8 @@ public class NotificationJob extends Job {
}
}
@SuppressFBWarnings(value = "HTTP_PARAMETER_POLLUTION",
justification = "link and type are from server and expected to be safe")
private int executeAction(String actionType, String actionLink, OwnCloudClient client) {
HttpMethod method;