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

Unified Diff: pkg/analyzer/lib/src/generated/html.dart

Issue 712083003: Create fewer unnecessary lists (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/src/generated/error_verifier.dart ('k') | pkg/analyzer/lib/src/generated/java_core.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/html.dart
diff --git a/pkg/analyzer/lib/src/generated/html.dart b/pkg/analyzer/lib/src/generated/html.dart
index 43f84ab73710b31245a5d0f2a67617a40a87186d..956a2da025a25b142090dee8fe046bc9530f5ba9 100644
--- a/pkg/analyzer/lib/src/generated/html.dart
+++ b/pkg/analyzer/lib/src/generated/html.dart
@@ -23,7 +23,7 @@ import 'engine.dart' show AnalysisEngine, AngularHtmlUnitResolver, ExpressionVis
* required to implement the interface used to access the characters being scanned.
*/
abstract class AbstractScanner {
- static List<String> _NO_PASS_THROUGH_ELEMENTS = <String> [];
+ static List<String> _NO_PASS_THROUGH_ELEMENTS = <String>[];
/**
* The source being scanned.
@@ -1196,6 +1196,11 @@ class XmlAttributeNode extends XmlNode {
List<XmlExpression> expressions = XmlExpression.EMPTY_ARRAY;
/**
+ * An empty list of XML attribute nodes.
+ */
+ static const List<XmlAttributeNode> EMPTY_LIST = const <XmlAttributeNode>[];
+
+ /**
* Construct a new instance representing an XML attribute.
*
* @param name the name token (not `null`). This may be a zero length token if the attribute
« no previous file with comments | « pkg/analyzer/lib/src/generated/error_verifier.dart ('k') | pkg/analyzer/lib/src/generated/java_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698