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

Issue 8312004: base/json: Collapse a condition in ReadHexDigits into a single if clause. (Closed)

Created:
9 years, 2 months ago by tfarina
Modified:
9 years, 2 months ago
Reviewers:
tony
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

base/json: Collapse a condition in ReadHexDigits into a single if clause. TEST=base_unittests --gtest_filter=JSON* R=tony@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106096

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M base/json/json_reader.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
tfarina
9 years, 2 months ago (2011-10-15 23:50:36 UTC) #1
tony
LG, although I'm pretty sure it doesn't matter. Why do you prefer the single if ...
9 years, 2 months ago (2011-10-17 16:33:41 UTC) #2
tfarina
9 years, 2 months ago (2011-10-17 18:22:01 UTC) #3
On 2011/10/17 16:33:41, tony wrote:
> LG, although I'm pretty sure it doesn't matter.  Why do you prefer the single
if
> clause?
Easier to read and less lines.

Powered by Google App Engine
This is Rietveld 408576698