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

Unified Diff: pkg/analyzer/lib/src/generated/incremental_logger.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
Index: pkg/analyzer/lib/src/generated/incremental_logger.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_logger.dart b/pkg/analyzer/lib/src/generated/incremental_logger.dart
index 2c1f3e5b8a3ffd4f9e5233fab42c7b5603e1627a..8abc6fecd5e5784bf6fa2f09af0199176ea26b4f 100644
--- a/pkg/analyzer/lib/src/generated/incremental_logger.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_logger.dart
@@ -4,7 +4,6 @@
library engine.incremental_logger;
-
/**
* The shared instance of [Logger] used by several incremental resolution
* classes. It is initialized externally by the Analysis Engine client.
@@ -21,7 +20,6 @@ final Logger NULL_LOGGER = new _NullLogger();
*/
final Logger PRINT_LOGGER = new StringSinkLogger(new _PrintStringSink());
-
/**
* A simple hierarchical logger.
*/
@@ -47,7 +45,6 @@ abstract class Logger {
LoggingTimer startTimer();
}
-
/**
* The handle of a timer.
*/
@@ -68,7 +65,6 @@ class LoggingTimer {
}
}
-
/**
* A [Logger] that writes to a [StringSink].
*/
@@ -130,7 +126,6 @@ class StringSinkLogger implements Logger {
}
}
-
class _LoggerSection {
final DateTime start = new DateTime.now();
final String indent;
@@ -138,22 +133,18 @@ class _LoggerSection {
_LoggerSection(this.indent, this.name);
}
-
/**
* A [Logger] that does nothing.
*/
class _NullLogger implements Logger {
@override
- void enter(String name) {
- }
+ void enter(String name) {}
@override
- void exit() {
- }
+ void exit() {}
@override
- void log(Object obj) {
- }
+ void log(Object obj) {}
@override
LoggingTimer startTimer() {
@@ -161,7 +152,6 @@ class _NullLogger implements Logger {
}
}
-
/**
* A [StringSink] implementation that uses `print`.
*/
« no previous file with comments | « pkg/analyzer/lib/src/generated/html.dart ('k') | pkg/analyzer/lib/src/generated/incremental_resolution_validator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698