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

Issue 442693002: Special case substring(0, length) to return itself. (Closed)

Created:
6 years, 4 months ago by Lasse Reichstein Nielsen
Modified:
6 years, 4 months ago
Reviewers:
Anders Johnsen, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org, srdjan
Visibility:
Public.

Description

Special case substring(0, length) to return itself. R=ajohnsen@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=38919

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding parentheses. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M runtime/lib/string_patch.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Lasse Reichstein Nielsen
6 years, 4 months ago (2014-08-05 08:19:21 UTC) #1
Anders Johnsen
lgtm, but wait for srdjan@s accept as well. https://codereview.chromium.org/442693002/diff/1/runtime/lib/string_patch.dart File runtime/lib/string_patch.dart (right): https://codereview.chromium.org/442693002/diff/1/runtime/lib/string_patch.dart#newcode250 runtime/lib/string_patch.dart:250: if ...
6 years, 4 months ago (2014-08-05 08:59:26 UTC) #2
Lasse Reichstein Nielsen
https://codereview.chromium.org/442693002/diff/1/runtime/lib/string_patch.dart File runtime/lib/string_patch.dart (right): https://codereview.chromium.org/442693002/diff/1/runtime/lib/string_patch.dart#newcode250 runtime/lib/string_patch.dart:250: if (startIndex == 0 && endIndex == this.length) { ...
6 years, 4 months ago (2014-08-05 09:26:56 UTC) #3
srdjan
lgtm
6 years, 4 months ago (2014-08-05 15:51:53 UTC) #4
Lasse Reichstein Nielsen
6 years, 4 months ago (2014-08-06 07:01:04 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as 38919 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698