Chromium Code Reviews| Index: pkg/analyzer/lib/file_system/file_system.dart |
| diff --git a/pkg/analyzer/lib/file_system/file_system.dart b/pkg/analyzer/lib/file_system/file_system.dart |
| index 0acbc142c29af4be068c4d4dca739d9dbf7a7354..88d9e6aec31add26c1299d77b9c48954b7483fc2 100644 |
| --- a/pkg/analyzer/lib/file_system/file_system.dart |
| +++ b/pkg/analyzer/lib/file_system/file_system.dart |
| @@ -219,7 +219,7 @@ class ResourceUriResolver extends UriResolver { |
| /** |
| * The name of the `file` scheme. |
| */ |
| - static String _FILE_SCHEME = "file"; |
| + static String FILE_SCHEME = "file"; |
|
Brian Wilkerson
2016/06/16 17:39:30
This should be marked 'final' now that it's public
jwren
2016/06/16 18:09:56
Done.
|
| final ResourceProvider _provider; |
| @@ -227,7 +227,7 @@ class ResourceUriResolver extends UriResolver { |
| @override |
| Source resolveAbsolute(Uri uri, [Uri actualUri]) { |
| - if (!_isFileUri(uri)) { |
| + if (!isFileUri(uri)) { |
| return null; |
| } |
| Resource resource = |
| @@ -245,5 +245,5 @@ class ResourceUriResolver extends UriResolver { |
| /** |
| * Return `true` if the given [uri] is a `file` URI. |
| */ |
| - static bool _isFileUri(Uri uri) => uri.scheme == _FILE_SCHEME; |
| + static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME; |
| } |