Fix several findbugs issues
This addresses the following classes of findbugs issues:
- ST, MS, SS, DLS, SIC
Also sprinkled in are eclipse auto-corrects of final, @Override and
import fixes.
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188447
https://codereview.chromium.org/12545043/diff/1/content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java File content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java (right): https://codereview.chromium.org/12545043/diff/1/content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java#newcode169 content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java:169: final long eventTime = SystemClock.uptimeMillis(); On 2013/03/14 20:30:56, joth ...
7 years, 9 months ago
(2013-03-14 20:34:03 UTC)
#4
https://codereview.chromium.org/12545043/diff/1/content/public/android/javate...
File
content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java
(right):
https://codereview.chromium.org/12545043/diff/1/content/public/android/javate...
content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java:169:
final long eventTime = SystemClock.uptimeMillis();
On 2013/03/14 20:30:56, joth wrote:
> micro-nit: to retain the exact behavior as before, I'd say "final long
eventTime
> = downTime"
Err, I assumed this was inadvertent but maybe I'm mistaken. At least it doesn't
match the other test cases. +Yusuf to comment
joth
https://codereview.chromium.org/12545043/diff/1/content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java File content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java (right): https://codereview.chromium.org/12545043/diff/1/content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java#newcode169 content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java:169: final long eventTime = SystemClock.uptimeMillis(); On 2013/03/14 20:34:04, Yaron ...
7 years, 9 months ago
(2013-03-14 20:35:38 UTC)
#5
https://codereview.chromium.org/12545043/diff/1/content/public/android/javate...
File
content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java
(right):
https://codereview.chromium.org/12545043/diff/1/content/public/android/javate...
content/public/android/javatests/src/org/chromium/content/browser/LongPressDetectorTest.java:169:
final long eventTime = SystemClock.uptimeMillis();
On 2013/03/14 20:34:04, Yaron wrote:
> On 2013/03/14 20:30:56, joth wrote:
> > micro-nit: to retain the exact behavior as before, I'd say "final long
> eventTime
> > = downTime"
>
> Err, I assumed this was inadvertent but maybe I'm mistaken. At least it
doesn't
> match the other test cases. +Yusuf to comment
o i c. we do this all over the place in this file. agree, do it as you wrote it
then.
thanks
Yusuf
lgtm
7 years, 9 months ago
(2013-03-15 18:08:36 UTC)
#6
lgtm
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yfriedman@chromium.org/12545043/1
7 years, 9 months ago
(2013-03-15 18:31:42 UTC)
#7
Issue 12545043: Fix several findbugs issues
(Closed)
Created 7 years, 9 months ago by Yaron
Modified 7 years, 9 months ago
Reviewers: joth, Yusuf
Base URL: svn://svn.chromium.org/chrome/trunk/src
Comments: 3