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

Unified Diff: utils/pub/lock_file.dart

Issue 11638010: Convert /** comments to /// in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 years 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 | « utils/pub/io.dart ('k') | utils/pub/oauth2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/lock_file.dart
diff --git a/utils/pub/lock_file.dart b/utils/pub/lock_file.dart
index d87ff08f0b6ec80c6002274910773c2025050beb..80036b845993a47f22e1e414f518d0a99f8f73c9 100644
--- a/utils/pub/lock_file.dart
+++ b/utils/pub/lock_file.dart
@@ -11,13 +11,9 @@ import 'utils.dart';
import 'version.dart';
import 'yaml/yaml.dart';
-/**
- * A parsed and validated `pubspec.lock` file.
- */
+/// A parsed and validated `pubspec.lock` file.
class LockFile {
- /**
- * The packages this lockfile pins.
- */
+ /// The packages this lockfile pins.
Map<String, PackageId> packages;
LockFile._(this.packages);
@@ -25,9 +21,7 @@ class LockFile {
LockFile.empty()
: packages = <String, PackageId>{};
- /**
- * Parses the lockfile whose text is [contents].
- */
+ /// Parses the lockfile whose text is [contents].
factory LockFile.parse(String contents, SourceRegistry sources) {
var packages = <String, PackageId>{};
@@ -78,9 +72,7 @@ class LockFile {
return new LockFile._(packages);
}
- /**
- * Returns the serialized YAML text of the lock file.
- */
+ /// Returns the serialized YAML text of the lock file.
String serialize() {
var packagesObj = <String, Map>{};
packages.forEach((name, id) {
« no previous file with comments | « utils/pub/io.dart ('k') | utils/pub/oauth2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698