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

Unified Diff: pkg/analysis_server/lib/src/plugin/plugin_impl.dart

Issue 969113002: 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/analysis_server/lib/src/plugin/plugin_impl.dart
diff --git a/pkg/analysis_server/lib/src/plugin/plugin_impl.dart b/pkg/analysis_server/lib/src/plugin/plugin_impl.dart
index 2245b6f6194042ea1b209b7bf5f593c6ac6f607f..9b1bd986acaf30a19ab0e64737c0054a75ad6f2e 100644
--- a/pkg/analysis_server/lib/src/plugin/plugin_impl.dart
+++ b/pkg/analysis_server/lib/src/plugin/plugin_impl.dart
@@ -29,9 +29,9 @@ class ExtensionManager {
*/
void processPlugins(List<Plugin> plugins) {
for (Plugin plugin in plugins) {
- plugin.registerExtensionPoints(
- (String identifier, [ValidateExtension validateExtension]) =>
- registerExtensionPoint(plugin, identifier, validateExtension));
+ plugin.registerExtensionPoints((String identifier,
+ [ValidateExtension validateExtension]) =>
+ registerExtensionPoint(plugin, identifier, validateExtension));
}
for (Plugin plugin in plugins) {
plugin.registerExtensions(registerExtension);
@@ -55,8 +55,8 @@ class ExtensionManager {
* Register an extension point being defined by the given [plugin] with the
* given simple [identifier] and [validateExtension].
*/
- ExtensionPoint registerExtensionPoint(Plugin plugin, String identifier,
- ValidateExtension validateExtension) {
+ ExtensionPoint registerExtensionPoint(
+ Plugin plugin, String identifier, ValidateExtension validateExtension) {
String uniqueIdentifier = Plugin.buildUniqueIdentifier(plugin, identifier);
if (extensionPoints.containsKey(uniqueIdentifier)) {
throw new ExtensionError(
@@ -95,8 +95,8 @@ class ExtensionPointImpl implements ExtensionPoint {
* it will be used to validate extensions associated with this extension
* point.
*/
- ExtensionPointImpl(this.plugin, this.simpleIdentifier,
- this.validateExtension);
+ ExtensionPointImpl(
+ this.plugin, this.simpleIdentifier, this.validateExtension);
/**
* Return a list containing all of the extensions that have been registered
« no previous file with comments | « pkg/analysis_server/lib/src/operation/operation_queue.dart ('k') | pkg/analysis_server/lib/src/plugin/server_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698