| Index: pkg/analysis_server/lib/src/services/correction/util.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/correction/util.dart b/pkg/analysis_server/lib/src/services/correction/util.dart
|
| index dc8b040d8df575e478d331e8d3d1c5e0f05c78bf..82217a2d4d24ea9c19fa2ee91e855de36d1123f3 100644
|
| --- a/pkg/analysis_server/lib/src/services/correction/util.dart
|
| +++ b/pkg/analysis_server/lib/src/services/correction/util.dart
|
| @@ -158,25 +158,6 @@ Expression climbPropertyAccess(AstNode node) {
|
| }
|
|
|
| /**
|
| - * Attempts to convert the given absolute path into an absolute URI, such as
|
| - * "dart" or "package" URI.
|
| - *
|
| - * [context] - the [AnalysisContext] to work in.
|
| - * [path] - the absolute path, not `null`.
|
| - *
|
| - * Returns the absolute (non-file) URI or `null`.
|
| - */
|
| -String findNonFileUri(AnalysisContext context, String path) {
|
| - Source fileSource =
|
| - new NonExistingSource(path, toUri(path), UriKind.FILE_URI);
|
| - Uri uri = context.sourceFactory.restoreUri(fileSource);
|
| - if (uri == null || uri.scheme == 'file') {
|
| - return null;
|
| - }
|
| - return uri.toString();
|
| -}
|
| -
|
| -/**
|
| * Returns the EOL to use for the given [code].
|
| */
|
| String getCodeEndOfLine(String code) {
|
|
|