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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ContentViewGestureHandlerTest.java

Issue 11860005: Findbugs fixes, removing fields that are never read from (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/HandleView.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/javatests/src/org/chromium/content/browser/ContentViewGestureHandlerTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewGestureHandlerTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewGestureHandlerTest.java
index 6d679ae16bce38e1e7ec37d26581b1cbb131d945..40d5dab7eb838e2523c5b1657659c366e6d370c3 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewGestureHandlerTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewGestureHandlerTest.java
@@ -39,12 +39,7 @@ public class ContentViewGestureHandlerTest extends InstrumentationTestCase {
MotionEvent mLastLongPress;
MotionEvent mLastSingleTap;
MotionEvent mLastFling1;
- MotionEvent mLastFling2;
CountDownLatch mLongPressCalled;
- MotionEvent mLastScroll1;
- MotionEvent mLastScroll2;
- float mLastScrollDistanceX;
- float mLastScrollDistanceY;
public MockListener() {
mLongPressCalled = new CountDownLatch(1);
@@ -70,17 +65,12 @@ public class ContentViewGestureHandlerTest extends InstrumentationTestCase {
@Override
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
- mLastScroll1 = e1;
- mLastScroll2 = e2;
- mLastScrollDistanceX = distanceX;
- mLastScrollDistanceY = distanceY;
return true;
}
@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
mLastFling1 = e1;
- mLastFling2 = e2;
return true;
}
}
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/HandleView.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698