Skip to content

Commit da6b2c5

Browse files
authored
Remove two unused constructors named '_none' (#979)
1 parent 83ec64a commit da6b2c5

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

lib/src/async_import_cache.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,6 @@ class AsyncImportCache {
9494
];
9595
}
9696

97-
/// Creates a cache that contains no importers.
98-
const AsyncImportCache._none()
99-
: _importers = const [],
100-
_logger = const Logger.stderr(),
101-
_canonicalizeCache = const {},
102-
_importCache = const {},
103-
_resultsCache = const {};
104-
10597
/// Canonicalizes [url] according to one of this cache's importers.
10698
///
10799
/// Returns the importer that was used to canonicalize [url], the canonical

lib/src/import_cache.dart

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// DO NOT EDIT. This file was generated from async_import_cache.dart.
66
// See tool/grind/synchronize.dart for details.
77
//
8-
// Checksum: c1dd0f2a41b03bd1227a2358688bf44499b9d90c
8+
// Checksum: c39f68f9964e4ae03c6447d845349e276def5031
99
//
1010
// ignore_for_file: unused_import
1111

@@ -98,14 +98,6 @@ class ImportCache {
9898
];
9999
}
100100

101-
/// Creates a cache that contains no importers.
102-
const ImportCache._none()
103-
: _importers = const [],
104-
_logger = const Logger.stderr(),
105-
_canonicalizeCache = const {},
106-
_importCache = const {},
107-
_resultsCache = const {};
108-
109101
/// Canonicalizes [url] according to one of this cache's importers.
110102
///
111103
/// Returns the importer that was used to canonicalize [url], the canonical

0 commit comments

Comments
 (0)