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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/ScannerErrorCode.java

Issue 214253002: Translate Java enums to Dart constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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.engine/src/com/google/dart/engine/scanner/ScannerErrorCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/ScannerErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/ScannerErrorCode.java
index 7c7c1c52d81f288f850ef7ecf95d2fd2f4ff1f53..2b917607a5946275254e349e63b1d6766affc767 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/ScannerErrorCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/ScannerErrorCode.java
@@ -48,7 +48,7 @@ public enum ScannerErrorCode implements ErrorCode {
* @param message the message template used to create the message to be displayed for this error
*/
private ScannerErrorCode(String message) {
- this.message = message;
+ this(message, null);
}
/**

Powered by Google App Engine
This is Rietveld 408576698