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

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

Issue 189803004: Translate private Java members to private Dart members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks 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: pkg/analyzer/lib/src/generated/utilities_dart.dart
diff --git a/pkg/analyzer/lib/src/generated/utilities_dart.dart b/pkg/analyzer/lib/src/generated/utilities_dart.dart
index 76a711a6948967bc9359fc30c9184f7b2c7e9bfc..aef747336c0f48b56dcc14fb5c9367f77f69f74d 100644
--- a/pkg/analyzer/lib/src/generated/utilities_dart.dart
+++ b/pkg/analyzer/lib/src/generated/utilities_dart.dart
@@ -26,21 +26,12 @@ class ParameterKind extends Enum<ParameterKind> {
/**
* A flag indicating whether this is an optional parameter.
*/
- bool _isOptional2 = false;
+ final bool isOptional;
/**
* Initialize a newly created kind with the given state.
*
* @param isOptional `true` if this is an optional parameter
*/
- ParameterKind(String name, int ordinal, bool isOptional) : super(name, ordinal) {
- this._isOptional2 = isOptional;
- }
-
- /**
- * Return `true` if this is an optional parameter.
- *
- * @return `true` if this is an optional parameter
- */
- bool get isOptional => _isOptional2;
+ ParameterKind(String name, int ordinal, this.isOptional) : super(name, ordinal);
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/utilities_collection.dart ('k') | pkg/analyzer/lib/src/services/formatter_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698