Skip to content

Commit 8e8909f

Browse files
authored
refact: remove 'late' modifier from JsonCacheMem attributes
1 parent aef4010 commit 8e8909f

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- removal of _late_ modifier from the attributes of the JsonCacheMem class.
13+
1014
## [0.3.1] - 2021-08-25
1115

1216
### Added

lib/src/json_cache_mem.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ class JsonCacheMem implements JsonCache {
9292
final ReadWriteMutex _mutex;
9393

9494
/// in-memory shared storage.
95-
static late final Map<String, Map<String, dynamic>?> _shrMem = {};
95+
static final Map<String, Map<String, dynamic>?> _shrMem = {};
9696

9797
/// shared mutex.
98-
static late final _shrMutex = ReadWriteMutex();
98+
static final _shrMutex = ReadWriteMutex();
9999

100100
/// Frees up storage space in both the level2 cache and in-memory cache.
101101
@override

pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.6.1"
10+
version: "2.8.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -28,7 +28,7 @@ packages:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0"
31+
version: "1.3.1"
3232
clock:
3333
dependency: transitive
3434
description:
@@ -120,7 +120,7 @@ packages:
120120
name: meta
121121
url: "https://pub.dartlang.org"
122122
source: hosted
123-
version: "1.3.0"
123+
version: "1.7.0"
124124
mutex:
125125
dependency: "direct main"
126126
description:
@@ -279,7 +279,7 @@ packages:
279279
name: test_api
280280
url: "https://pub.dartlang.org"
281281
source: hosted
282-
version: "0.3.0"
282+
version: "0.4.2"
283283
typed_data:
284284
dependency: transitive
285285
description:

0 commit comments

Comments
 (0)