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

Issue 1419373009: Lint to prefer x.isNotEmpty vs. !x.isEmpty (#143). (Closed)

Created:
5 years, 1 month ago by pquitslund
Modified:
5 years, 1 month ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/linter.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : doc fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -14 lines) Patch
M lib/src/ast.dart View 3 chunks +41 lines, -5 lines 0 comments Download
M lib/src/linter.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/src/rules.dart View 2 chunks +2 lines, -0 lines 0 comments Download
A lib/src/rules/prefer_is_not_empty.dart View 1 1 chunk +102 lines, -0 lines 0 comments Download
M lib/src/sdk.dart View 2 chunks +5 lines, -0 lines 0 comments Download
A + test/rules/prefer_is_not_empty.dart View 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
pquitslund
5 years, 1 month ago (2015-11-05 04:42:47 UTC) #2
scheglov
LGTM https://codereview.chromium.org/1419373009/diff/1/lib/src/rules/prefer_is_not_empty.dart File lib/src/rules/prefer_is_not_empty.dart (right): https://codereview.chromium.org/1419373009/diff/1/lib/src/rules/prefer_is_not_empty.dart#newcode31 lib/src/rules/prefer_is_not_empty.dart:31: if (todo.isEmpty) { Do you mean this line ...
5 years, 1 month ago (2015-11-05 04:49:07 UTC) #3
pquitslund
Thanks! https://codereview.chromium.org/1419373009/diff/1/lib/src/rules/prefer_is_not_empty.dart File lib/src/rules/prefer_is_not_empty.dart (right): https://codereview.chromium.org/1419373009/diff/1/lib/src/rules/prefer_is_not_empty.dart#newcode31 lib/src/rules/prefer_is_not_empty.dart:31: if (todo.isEmpty) { On 2015/11/05 04:49:07, scheglov wrote: ...
5 years, 1 month ago (2015-11-05 04:52:41 UTC) #4
pquitslund
5 years, 1 month ago (2015-11-05 16:22:37 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
154dbfe3653a212626b254e47cec2be06ca64118 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698