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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ErrorFixes.java

Issue 475673002: Generate public static EMPTY_ARRAY fields for each object. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review Created 6 years, 4 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: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ErrorFixes.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ErrorFixes.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ErrorFixes.java
index e3810b3e8d56db51a568166ee070c0c915ef94a1..5eda74a93b70447969e0cbfdf031523d7eddae6b 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ErrorFixes.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/ErrorFixes.java
@@ -31,6 +31,11 @@ import org.apache.commons.lang3.StringUtils;
public class ErrorFixes {
/**
+ * An empty array of {@link ErrorFixes}s.
+ */
+ public static final ErrorFixes[] EMPTY_ARRAY = new ErrorFixes[0];
+
+ /**
* The error with which the fixes are associated.
*/
private final AnalysisError error;

Powered by Google App Engine
This is Rietveld 408576698