Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: pkg/analyzer/lib/file_system/memory_file_system.dart

Issue 1026093002: Fix hints in the analyzer package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/ast.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library memory_file_system; 5 library memory_file_system;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/src/generated/engine.dart' show TimestampedData; 10 import 'package:analyzer/src/generated/engine.dart' show TimestampedData;
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 @override 305 @override
306 int get hashCode => id; 306 int get hashCode => id;
307 307
308 @override 308 @override
309 bool get isInSystemLibrary => uriKind == UriKind.DART_URI; 309 bool get isInSystemLibrary => uriKind == UriKind.DART_URI;
310 310
311 @override 311 @override
312 int get modificationStamp { 312 int get modificationStamp {
313 try { 313 try {
314 return file.modificationStamp; 314 return file.modificationStamp;
315 } on FileSystemException catch (e) { 315 } on FileSystemException {
316 return -1; 316 return -1;
317 } 317 }
318 } 318 }
319 319
320 @override 320 @override
321 String get shortName => file.shortName; 321 String get shortName => file.shortName;
322 322
323 @override 323 @override
324 UriKind get uriKind { 324 UriKind get uriKind {
325 String scheme = uri.scheme; 325 String scheme = uri.scheme;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 bool operator ==(other) { 461 bool operator ==(other) {
462 if (runtimeType != other.runtimeType) { 462 if (runtimeType != other.runtimeType) {
463 return false; 463 return false;
464 } 464 }
465 return path == other.path; 465 return path == other.path;
466 } 466 }
467 467
468 @override 468 @override
469 String toString() => path; 469 String toString() => path;
470 } 470 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698