Skip to content

Commit c565fbf

Browse files
bwilkersoncommit-bot@chromium.org
authored andcommitted
Fix a couple of hints in the nnbd migrator
Change-Id: Iaa2442432fe300fd116224a2c2d75e9d76d4e1e2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112260 Reviewed-by: Paul Berry <[email protected]> Commit-Queue: Brian Wilkerson <[email protected]>
1 parent bff5732 commit c565fbf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pkg/nnbd_migration/lib/nnbd_migration.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class NullabilityFixDescription {
4848
/// nullable.
4949
factory NullabilityFixDescription.makeTypeNullable(String type) =>
5050
NullabilityFixDescription._(
51-
appliedMessage: 'Changed type ${type} to be nullable',
51+
appliedMessage: 'Changed type $type to be nullable',
5252
);
5353

5454
const NullabilityFixDescription._({@required this.appliedMessage});

pkg/nnbd_migration/test/decorated_class_hierarchy_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'package:analyzer/dart/ast/ast.dart';
6-
import 'package:analyzer/dart/element/type.dart';
76
import 'package:nnbd_migration/src/decorated_class_hierarchy.dart';
8-
import 'package:nnbd_migration/src/decorated_type.dart';
97
import 'package:nnbd_migration/src/nullability_node.dart';
108
import 'package:test/test.dart';
119
import 'package:test_reflective_loader/test_reflective_loader.dart';

0 commit comments

Comments
 (0)