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

Unified Diff: pkg/analyzer/lib/src/plugin/plugin_configuration.dart

Issue 1366663002: Plugin config cleanup. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | pkg/analyzer/test/src/plugin/plugin_config_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/plugin/plugin_configuration.dart
diff --git a/pkg/analyzer/lib/src/plugin/plugin_configuration.dart b/pkg/analyzer/lib/src/plugin/plugin_configuration.dart
index 6d5a102a80ce607d2c0c128734c51a2fe92c11e3..e4512fb160936af8e7b9b0b13d69193efa71b283 100644
--- a/pkg/analyzer/lib/src/plugin/plugin_configuration.dart
+++ b/pkg/analyzer/lib/src/plugin/plugin_configuration.dart
@@ -30,15 +30,6 @@ PluginInfo _processPluginMapping(dynamic name, dynamic details) {
return null;
}
-PluginInfo _processPluginNode(dynamic node) {
- if (node is YamlMap) {
- if (node.length == 1) {
- return new PluginInfo(name: node.keys.first, version: node.values.first);
- }
- }
- return null;
-}
-
typedef ErrorHandler(Exception);
/// Describes plugin configuration information as extracted from an
« no previous file with comments | « no previous file | pkg/analyzer/test/src/plugin/plugin_config_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698