Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java

Issue 793203002: Use SuppressFBWarnings to suppress findbugs warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + landmine Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java
diff --git a/components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java b/components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java
index bd6f31a35204707baae28176ab84a983d5ab5533..05f933fed38ff8f74fd9942190623386aaed1ca9 100644
--- a/components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java
+++ b/components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java
@@ -9,6 +9,7 @@ import android.util.Log;
import org.apache.http.conn.ConnectTimeoutException;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
+import org.chromium.base.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.net.MalformedURLException;
@@ -222,6 +223,7 @@ public class ChromiumUrlRequest implements HttpUrlRequest {
* @param data The content that needs to be uploaded.
*/
@Override
+ @SuppressFBWarnings("EI_EXPOSE_REP2")
public void setUploadData(String contentType, byte[] data) {
synchronized (mLock) {
validateNotStarted();

Powered by Google App Engine
This is Rietveld 408576698