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

Issue 269603002: Fix a findbugs warning - check file.delete return value. (Closed)

Created:
6 years, 7 months ago by vandebo (ex-Chrome)
Modified:
6 years, 7 months ago
Reviewers:
nyquist, Yaron
CC:
chromium-reviews, klundberg+watch_chromium.org, erikwright+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Fix a findbugs warning - check file.delete return value. BUG=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269960

Patch Set 1 #

Patch Set 2 : delete can fail #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M build/android/findbugs_filter/findbugs_known_bugs.txt View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
vandebo (ex-Chrome)
6 years, 7 months ago (2014-05-07 16:22:50 UTC) #1
vandebo (ex-Chrome)
6 years, 7 months ago (2014-05-08 18:20:37 UTC) #2
nyquist
https://codereview.chromium.org/269603002/diff/40001/base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java File base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java (right): https://codereview.chromium.org/269603002/diff/40001/base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java#newcode47 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java:47: assert (file.delete() || !file.exists()); Asserts should be side-effect free, ...
6 years, 7 months ago (2014-05-10 20:47:42 UTC) #3
vandebo (ex-Chrome)
https://codereview.chromium.org/269603002/diff/40001/base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java File base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java (right): https://codereview.chromium.org/269603002/diff/40001/base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java#newcode47 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java:47: assert (file.delete() || !file.exists()); On 2014/05/10 20:47:42, nyquist wrote: ...
6 years, 7 months ago (2014-05-12 21:45:58 UTC) #4
nyquist
lgtm
6 years, 7 months ago (2014-05-12 21:51:07 UTC) #5
vandebo (ex-Chrome)
The CQ bit was checked by vandebo@chromium.org
6 years, 7 months ago (2014-05-12 21:52:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vandebo@chromium.org/269603002/60001
6 years, 7 months ago (2014-05-12 21:53:56 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 01:35:57 UTC) #8
Message was sent while issue was closed.
Change committed as 269960

Powered by Google App Engine
This is Rietveld 408576698