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

Unified Diff: lib/uri/helpers.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/templates/immutable_list_mixin.darttemplate ('k') | pkg/dartdoc/bin/dartdoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/uri/helpers.dart
diff --git a/lib/uri/helpers.dart b/lib/uri/helpers.dart
index b23cdb8598f2645f9a964f2ffa7e1c437dd4be3c..bcc1e5677aa78bbe9126a0d22615627c6784060a 100644
--- a/lib/uri/helpers.dart
+++ b/lib/uri/helpers.dart
@@ -13,7 +13,7 @@ String removeDotSegments(String path) {
for (String segment in path.split("/")) {
appendSlash = false;
if (segment == "..") {
- if (!output.isEmpty() &&
+ if (!output.isEmpty &&
((output.length != 1) || (output[0] != ""))) output.removeLast();
appendSlash = true;
} else if ("." == segment) {
« no previous file with comments | « lib/html/templates/immutable_list_mixin.darttemplate ('k') | pkg/dartdoc/bin/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698