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

Unified Diff: runtime/observatory/lib/src/elements/metric/graph.dart

Issue 2942493002: Removed unnecessary string concatenations (Closed)
Patch Set: Created 3 years, 6 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: runtime/observatory/lib/src/elements/metric/graph.dart
diff --git a/runtime/observatory/lib/src/elements/metric/graph.dart b/runtime/observatory/lib/src/elements/metric/graph.dart
index 4286f553e83f26c65783f2155ba7a4369ecdc14f..c39d29cc7b510a4d077400201f97d6d7fa618083 100644
--- a/runtime/observatory/lib/src/elements/metric/graph.dart
+++ b/runtime/observatory/lib/src/elements/metric/graph.dart
@@ -71,7 +71,7 @@ class MetricGraphElement extends HtmlElement implements Renderable {
var message = 'current: $current';
if (min != null) {
- message = 'min: $min, ' + message;
+ message = 'min: $min, $message';
}
if (max != null) {
message = message + ', max: $max';

Powered by Google App Engine
This is Rietveld 408576698