Index: pkg/analyzer/lib/src/generated/source_io.dart |
diff --git a/pkg/analyzer/lib/src/generated/source_io.dart b/pkg/analyzer/lib/src/generated/source_io.dart |
index 01c6fbf1abd6229a8011bddcfe59f4320dff36c2..08c4677e7265d710493e7bfe35dc60506ad7ac75 100644 |
--- a/pkg/analyzer/lib/src/generated/source_io.dart |
+++ b/pkg/analyzer/lib/src/generated/source_io.dart |
@@ -158,7 +158,7 @@ class FileBasedSource implements Source { |
try { |
Uri resolvedUri = file.toURI().resolveUri(containedUri); |
return new FileBasedSource.con2(new JavaFile.fromUri(resolvedUri), uriKind); |
- } on JavaException catch (exception) { |
+ } catch (exception) { |
} |
return null; |
} |
@@ -387,7 +387,7 @@ class PackageUriResolver extends UriResolver { |
String relPath = sourcePath.substring(pkgCanonicalPath.length); |
return parseUriWithException("${PACKAGE_SCHEME}:${pkgFolder.getName()}${relPath}"); |
} |
- } on JavaException catch (e) { |
+ } catch (e) { |
} |
} |
} |