From c6837e0286b887c913d8918db77cb1dc8e3df10a Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Wed, 7 Apr 2021 09:37:16 -0700 Subject: [PATCH] Addressed CR comments --- dwds/lib/src/debugging/metadata/provider.dart | 2 +- fixtures/_testPackage/lib/src/test_part.dart | 4 ++-- fixtures/_testPackageSound/lib/src/test_part.dart | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dwds/lib/src/debugging/metadata/provider.dart b/dwds/lib/src/debugging/metadata/provider.dart index 335328094..ae6176dff 100644 --- a/dwds/lib/src/debugging/metadata/provider.dart +++ b/dwds/lib/src/debugging/metadata/provider.dart @@ -234,7 +234,7 @@ class MetadataProvider { _scriptToModule[library.importUri] = metadata.name; for (var path in library.partUris) { - // parts in metadata are relative to the library Uri directory + // Parts in metadata are relative to the library Uri directory. var partPath = p.url.join(p.dirname(library.importUri), path); _scripts[library.importUri].add(partPath); _scriptToModule[partPath] = metadata.name; diff --git a/fixtures/_testPackage/lib/src/test_part.dart b/fixtures/_testPackage/lib/src/test_part.dart index ae3429ea6..fbc04802a 100644 --- a/fixtures/_testPackage/lib/src/test_part.dart +++ b/fixtures/_testPackage/lib/src/test_part.dart @@ -1,4 +1,4 @@ -// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file +// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file // 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. @@ -20,4 +20,4 @@ TestLibraryPartClass(this.field, this._field) { @override String toString() => 'field: $field, _field: $_field'; -} \ No newline at end of file +} diff --git a/fixtures/_testPackageSound/lib/src/test_part.dart b/fixtures/_testPackageSound/lib/src/test_part.dart index 5c0e34865..395b475cb 100644 --- a/fixtures/_testPackageSound/lib/src/test_part.dart +++ b/fixtures/_testPackageSound/lib/src/test_part.dart @@ -1,4 +1,4 @@ -// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file +// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file // 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. @@ -20,4 +20,4 @@ class TestLibraryPartClass { @override String toString() => 'field: $field, _field: $_field'; -} \ No newline at end of file +}