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

Unified Diff: packages/analyzer/lib/src/generated/sdk.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « packages/analyzer/lib/src/generated/scanner.dart ('k') | packages/analyzer/lib/src/generated/sdk_io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/analyzer/lib/src/generated/sdk.dart
diff --git a/analyzer/lib/src/generated/sdk.dart b/packages/analyzer/lib/src/generated/sdk.dart
similarity index 97%
rename from analyzer/lib/src/generated/sdk.dart
rename to packages/analyzer/lib/src/generated/sdk.dart
index 81c8a88acf56e739df9505c8c9a0c77ffe18541b..1bf502bb5695847cf0da1268d13642044f90c789 100644
--- a/analyzer/lib/src/generated/sdk.dart
+++ b/packages/analyzer/lib/src/generated/sdk.dart
@@ -2,9 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// This code was auto-generated, is not intended to be edited, and is subject to
-// significant change. Please see the README file for more information.
-
library engine.sdk;
import 'dart:collection';
@@ -303,7 +300,7 @@ class SdkLibraryImpl implements SdkLibrary {
* The short name of the library. This is the name used after 'dart:' in a
* URI.
*/
- String _shortName = null;
+ final String shortName;
/**
* The path to the file defining the library. The path is relative to the
@@ -337,9 +334,7 @@ class SdkLibraryImpl implements SdkLibrary {
* Initialize a newly created library to represent the library with the given
* [name].
*/
- SdkLibraryImpl(String name) {
- this._shortName = name;
- }
+ SdkLibraryImpl(this.shortName);
/**
* Set whether the library is documented.
@@ -373,9 +368,6 @@ class SdkLibraryImpl implements SdkLibrary {
@override
bool get isVmLibrary => (_platforms & VM_PLATFORM) != 0;
- @override
- String get shortName => _shortName;
-
/**
* Record that this library can be compiled to JavaScript by dart2js.
*/
« no previous file with comments | « packages/analyzer/lib/src/generated/scanner.dart ('k') | packages/analyzer/lib/src/generated/sdk_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698