소스 검색

suppress findbugs

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 6 년 전
부모
커밋
5afa099d3b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/java/com/owncloud/android/jobs/NotificationJob.java

+ 3 - 0
src/main/java/com/owncloud/android/jobs/NotificationJob.java

@@ -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;