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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.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/AddContentOverlay.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java
index 29c63b777041214014ac6def7dfd78f23f39aae6..96ab2cd18ddb4624be1eecb71d124769915bad48 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java
@@ -35,15 +35,20 @@ import org.apache.commons.lang3.StringUtils;
public class AddContentOverlay {
/**
- * The new content of the file.
+ * An empty array of {@link AddContentOverlay}s.
*/
- private final String content;
+ public static final AddContentOverlay[] EMPTY_ARRAY = new AddContentOverlay[0];
/**
*/
private final String type;
/**
+ * The new content of the file.
+ */
+ private final String content;
+
+ /**
* Constructor for {@link AddContentOverlay}.
*/
public AddContentOverlay(String type, String content) {

Powered by Google App Engine
This is Rietveld 408576698