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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/local/computer/NavigationRegionImpl.java

Issue 242373005: Translate server interfaces and navigation/outline computers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/local/computer/NavigationRegionImpl.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/local/computer/NavigationRegionImpl.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/local/computer/NavigationRegionImpl.java
index 1903863f482753bc8c35c9cf640582856df5456a..ec3c111cf3e1d8d3881dc455a6656381b862843f 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/local/computer/NavigationRegionImpl.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/local/computer/NavigationRegionImpl.java
@@ -14,10 +14,11 @@
package com.google.dart.server.internal.local.computer;
-import com.google.common.base.Joiner;
import com.google.dart.server.NavigationRegion;
import com.google.dart.server.NavigationTarget;
+import org.apache.commons.lang3.StringUtils;
+
/**
* A concrete implementation of {@link NavigationRegion}.
*
@@ -41,7 +42,7 @@ public class NavigationRegionImpl extends SourceRegionImpl implements Navigation
StringBuilder builder = new StringBuilder();
builder.append(super.toString());
builder.append(" -> [");
- builder.append(Joiner.on(", ").join(targets));
+ builder.append(StringUtils.join(targets, ", "));
builder.append("]");
return builder.toString();
}

Powered by Google App Engine
This is Rietveld 408576698