From 185b8256f570dfe620789130bb3861bdeecfffdd Mon Sep 17 00:00:00 2001 From: Gilles Debunne Date: Tue, 17 Jan 2012 11:12:27 -0800 Subject: [PATCH] Fixed doc typo and removed warning Change-Id: I9c9e45837037a77df5852ff4ea3ad596952e4507 --- core/java/android/view/VelocityTracker.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/view/VelocityTracker.java b/core/java/android/view/VelocityTracker.java index dfb2c32802153..1c35e31d4526d 100644 --- a/core/java/android/view/VelocityTracker.java +++ b/core/java/android/view/VelocityTracker.java @@ -29,7 +29,7 @@ import android.util.PoolableManager; * to begin tracking. Put the motion events you receive into it with * {@link #addMovement(MotionEvent)}. When you want to determine the velocity call * {@link #computeCurrentVelocity(int)} and then call {@link #getXVelocity(int)} - * and {@link #getXVelocity(int)} to retrieve the velocity for each pointer id. + * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id. */ public final class VelocityTracker implements Poolable { private static final Pool sPool = Pools.synchronizedPool( @@ -39,6 +39,7 @@ public final class VelocityTracker implements Poolable { } public void onAcquired(VelocityTracker element) { + // Intentionally empty } public void onReleased(VelocityTracker element) {