| Index: pkg/analyzer/lib/src/generated/java_core.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/java_core.dart b/pkg/analyzer/lib/src/generated/java_core.dart
|
| index 074bb3ce675bf8faec50da7a7a8ddef1bc20028a..3988cf9b05eda3d4d70e38a51ca0e4fa8e10b2e2 100644
|
| --- a/pkg/analyzer/lib/src/generated/java_core.dart
|
| +++ b/pkg/analyzer/lib/src/generated/java_core.dart
|
| @@ -39,20 +39,6 @@ String formatList(String pattern, List<Object> arguments) {
|
| });
|
| }
|
|
|
| -/// Parses given string to [Uri], throws [URISyntaxException] if invalid.
|
| -Uri parseUriWithException(String str) {
|
| - Uri uri;
|
| - try {
|
| - uri = Uri.parse(str);
|
| - } on FormatException catch (e) {
|
| - throw new URISyntaxException(e.toString());
|
| - }
|
| - if (uri.path.isEmpty) {
|
| - throw new URISyntaxException('empty path');
|
| - }
|
| - return uri;
|
| -}
|
| -
|
| /**
|
| * Very limited printf implementation, supports only %s and %d.
|
| */
|
| @@ -226,9 +212,3 @@ abstract class PrintWriter {
|
| this.newLine();
|
| }
|
| }
|
| -
|
| -class URISyntaxException implements Exception {
|
| - final String message;
|
| - URISyntaxException(this.message);
|
| - String toString() => "URISyntaxException: $message";
|
| -}
|
|
|