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

Unified Diff: pkg/analyzer/lib/instrumentation/instrumentation.dart

Issue 975453004: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | « pkg/analyzer/lib/instrumentation/file_instrumentation.dart ('k') | pkg/analyzer/lib/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/instrumentation/instrumentation.dart
diff --git a/pkg/analyzer/lib/instrumentation/instrumentation.dart b/pkg/analyzer/lib/instrumentation/instrumentation.dart
index 4a44db4c27cdfad6f3d4a8a3e6ef5dc6fc18671e..83b863594997cce5cf1ec2cae1b77f018ae0435d 100644
--- a/pkg/analyzer/lib/instrumentation/instrumentation.dart
+++ b/pkg/analyzer/lib/instrumentation/instrumentation.dart
@@ -94,8 +94,8 @@ class InstrumentationService {
*/
void logAnalysisTask(String context, String description) {
if (_instrumentationServer != null) {
- _instrumentationServer.log(
- _join([TAG_ANALYSIS_TASK, context, description]));
+ _instrumentationServer
+ .log(_join([TAG_ANALYSIS_TASK, context, description]));
}
}
@@ -125,8 +125,8 @@ class InstrumentationService {
void logFileRead(String path, int modificationTime, String content) {
if (_instrumentationServer != null) {
String timeStamp = _toString(modificationTime);
- _instrumentationServer.log(
- _join([TAG_FILE_READ, path, timeStamp, content]));
+ _instrumentationServer
+ .log(_join([TAG_FILE_READ, path, timeStamp, content]));
}
}
@@ -139,8 +139,8 @@ class InstrumentationService {
if (_instrumentationServer != null) {
String timeStamp =
time == null ? 'null' : time.millisecondsSinceEpoch.toString();
- _instrumentationServer.log(
- _join([TAG_LOG_ENTRY, level, timeStamp, message]));
+ _instrumentationServer
+ .log(_join([TAG_LOG_ENTRY, level, timeStamp, message]));
}
}
@@ -158,8 +158,8 @@ class InstrumentationService {
sw.stop();
String elapsed = sw.elapsedMilliseconds.toString();
if (_instrumentationServer != null) {
- _instrumentationServer.log(
- _join([TAG_PERFORMANCE, kind, elapsed, message]));
+ _instrumentationServer
+ .log(_join([TAG_PERFORMANCE, kind, elapsed, message]));
}
}
@@ -171,8 +171,8 @@ class InstrumentationService {
if (_instrumentationServer != null) {
String message = _toString(exception);
String trace = _toString(stackTrace);
- _instrumentationServer.logWithPriority(
- _join([TAG_EXCEPTION, message, trace]));
+ _instrumentationServer
+ .logWithPriority(_join([TAG_EXCEPTION, message, trace]));
}
}
@@ -196,20 +196,18 @@ class InstrumentationService {
*/
void logVersion(String uuid, String clientId, String clientVersion,
String serverVersion, String sdkVersion) {
-
String normalize(String value) =>
value != null && value.length > 0 ? value : 'unknown';
if (_instrumentationServer != null) {
- _instrumentationServer.logWithPriority(
- _join(
- [
- TAG_VERSION,
- uuid,
- normalize(clientId),
- normalize(clientVersion),
- serverVersion,
- sdkVersion]));
+ _instrumentationServer.logWithPriority(_join([
+ TAG_VERSION,
+ uuid,
+ normalize(clientId),
+ normalize(clientVersion),
+ serverVersion,
+ sdkVersion
+ ]));
}
}
@@ -221,8 +219,8 @@ class InstrumentationService {
*/
void logWatchEvent(String folderPath, String filePath, String changeType) {
if (_instrumentationServer != null) {
- _instrumentationServer.log(
- _join([TAG_WATCH_EVENT, folderPath, filePath, changeType]));
+ _instrumentationServer
+ .log(_join([TAG_WATCH_EVENT, folderPath, filePath, changeType]));
}
}
« no previous file with comments | « pkg/analyzer/lib/instrumentation/file_instrumentation.dart ('k') | pkg/analyzer/lib/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698