| Index: pkg/analyzer/lib/src/context/source.dart
|
| diff --git a/pkg/analyzer/lib/src/context/source.dart b/pkg/analyzer/lib/src/context/source.dart
|
| index d6f5c15ca14e8699e054a9232b646ad4badc9dcf..a8e9b32fa029153976e7e58f958265632fff2406 100644
|
| --- a/pkg/analyzer/lib/src/context/source.dart
|
| +++ b/pkg/analyzer/lib/src/context/source.dart
|
| @@ -10,7 +10,6 @@ import 'package:analyzer/file_system/file_system.dart';
|
| import 'package:analyzer/file_system/physical_file_system.dart';
|
| import 'package:analyzer/source/package_map_resolver.dart';
|
| import 'package:analyzer/src/generated/engine.dart';
|
| -import 'package:analyzer/src/generated/java_core.dart';
|
| import 'package:analyzer/src/generated/java_engine.dart';
|
| import 'package:analyzer/src/generated/sdk.dart';
|
| import 'package:analyzer/src/generated/source.dart';
|
| @@ -159,7 +158,7 @@ class SourceFactoryImpl implements SourceFactory {
|
| try {
|
| // Force the creation of an escaped URI to deal with spaces, etc.
|
| return _internalResolveUri(containingSource, FastUri.parse(containedUri));
|
| - } on URISyntaxException {
|
| + } on FormatException {
|
| return null;
|
| } catch (exception, stackTrace) {
|
| String containingFullName =
|
|
|