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

Unified Diff: android_webview/glue/java/src/com/android/webview/chromium/WebHistoryItemChromium.java

Issue 1000793002: [Android] Incorporate findbugs into android builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address cjhopman's comment + rebase Created 5 years, 9 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: android_webview/glue/java/src/com/android/webview/chromium/WebHistoryItemChromium.java
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebHistoryItemChromium.java b/android_webview/glue/java/src/com/android/webview/chromium/WebHistoryItemChromium.java
index 44853daf96278e82b8f2900a326e848474e9ea46..5a93abc9c4f0a9e203b64270c34e1ff5fdcc20cf 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/WebHistoryItemChromium.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/WebHistoryItemChromium.java
@@ -7,6 +7,7 @@ package com.android.webview.chromium;
import android.graphics.Bitmap;
import android.webkit.WebHistoryItem;
+import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.content_public.browser.NavigationEntry;
/**
@@ -79,6 +80,9 @@ public class WebHistoryItemChromium extends WebHistoryItem {
/**
* See {@link android.webkit.WebHistoryItem#clone}.
*/
+ @SuppressFBWarnings({
+ "CHROMIUM_SYNCHRONIZED_METHOD",
+ "CN_IDIOM_NO_SUPER_CALL"})
@Override
public synchronized WebHistoryItemChromium clone() {
return new WebHistoryItemChromium(mUrl, mOriginalUrl, mTitle, mFavicon);

Powered by Google App Engine
This is Rietveld 408576698