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

Issue 12303026: More comments to StringBuffers. (Closed)

Created:
7 years, 10 months ago by floitsch
Modified:
7 years, 10 months ago
CC:
reviews_dartlang.org, sra1
Visibility:
Public.

Description

More comments to StringBuffers. Committed: https://code.google.com/p/dart/source/detail?r=18837

Patch Set 1 #

Patch Set 2 : Forgot to save file. #

Total comments: 6

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -9 lines) Patch
M sdk/lib/core/string_buffer.dart View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M sdk/lib/core/string_sink.dart View 1 2 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
floitsch
7 years, 10 months ago (2013-02-19 14:21:55 UTC) #1
sra1
lgtm https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_sink.dart File sdk/lib/core/string_sink.dart (right): https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_sink.dart#newcode11 sdk/lib/core/string_sink.dart:11: * [:this:]. Consider using backtick, which is lighter ...
7 years, 10 months ago (2013-02-19 21:08:45 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_sink.dart File sdk/lib/core/string_sink.dart (right): https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_sink.dart#newcode11 sdk/lib/core/string_sink.dart:11: * [:this:]. Backtick is not part of the ...
7 years, 10 months ago (2013-02-20 09:30:43 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_buffer.dart File sdk/lib/core/string_buffer.dart (right): https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_buffer.dart#newcode18 sdk/lib/core/string_buffer.dart:18: /// This operation is in O(1). It uses /** ...
7 years, 10 months ago (2013-02-20 09:32:16 UTC) #4
sra1
https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_sink.dart File sdk/lib/core/string_sink.dart (right): https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_sink.dart#newcode11 sdk/lib/core/string_sink.dart:11: * [:this:]. On 2013/02/20 09:30:43, Lasse Reichstein Nielsen wrote: ...
7 years, 10 months ago (2013-02-21 02:05:15 UTC) #5
floitsch
7 years, 10 months ago (2013-02-21 13:49:03 UTC) #6
https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_buffer...
File sdk/lib/core/string_buffer.dart (right):

https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_buffer...
sdk/lib/core/string_buffer.dart:18: /// This operation is in O(1).
On 2013/02/20 09:32:16, Lasse Reichstein Nielsen wrote:
> It uses /** below and /// here. Please use /** for consistency.
> Change "is in O(1)" to "is a constant time operation". It's too technical.
Ditto
> below.

Done.

https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_sink.dart
File sdk/lib/core/string_sink.dart (right):

https://codereview.chromium.org/12303026/diff/2001/sdk/lib/core/string_sink.d...
sdk/lib/core/string_sink.dart:11: * [:this:].
On 2013/02/21 02:05:15, sra1 wrote:
> On 2013/02/20 09:30:43, Lasse Reichstein Nielsen wrote:
> > Backtick is not part of the dartdoc spec (in the language spec), but [:...:]
> is.
> > That's probably just a case of dartdoc being violently underspecified, but
> until
> > it is I prefer using the parts that are there.
> 
> The spec currently says (copy & paste from
> http://www.dartlang.org/docs/spec/latest/dart-language-specification.pdf ):
> 
> A token of the form [:code:] or `code` will render code as code in the
formatted
> output.

Done.

Powered by Google App Engine
This is Rietveld 408576698