| Index: pkg/intl/lib/src/lazy_locale_data.dart
|
| ===================================================================
|
| --- pkg/intl/lib/src/lazy_locale_data.dart (revision 13089)
|
| +++ pkg/intl/lib/src/lazy_locale_data.dart (working copy)
|
| @@ -42,7 +42,7 @@
|
| /**
|
| * The set of available locales.
|
| */
|
| - Set _availableLocaleSet;
|
| + Set availableLocaleSet;
|
|
|
| /**
|
| * The constructor. The [uriString] specifies where the data comes
|
| @@ -54,16 +54,9 @@
|
| LazyLocaleData(this._reader, this._creationFunction, List keys) {
|
| map = new Map();
|
| availableLocales = keys;
|
| + availableLocaleSet = new Set.from(availableLocales);
|
| }
|
|
|
| - /** The set of available locales. */
|
| - get availableLocaleSet {
|
| - if (_availableLocaleSet == null) {
|
| - _availableLocaleSet = new Set.from(availableLocales);
|
| - }
|
| - return _availableLocaleSet;
|
| - }
|
| -
|
| /**
|
| * Tests if we have data for the locale available. Note that this returns
|
| * true even if the data is known to be available remotely but not yet loaded.
|
|
|