| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 library engine.source; | 3 library engine.source; |
| 4 import 'java_core.dart'; | 4 import 'java_core.dart'; |
| 5 import 'sdk.dart' show DartSdk; | 5 import 'sdk.dart' show DartSdk; |
| 6 import 'engine.dart' show AnalysisContext; | 6 import 'engine.dart' show AnalysisContext; |
| 7 /** | 7 /** |
| 8 * Instances of the class `SourceFactory` resolve possibly relative URI's agains
t an existing | 8 * Instances of the class `SourceFactory` resolve possibly relative URI's agains
t an existing |
| 9 * [Source]. | 9 * [Source]. |
| 10 * | 10 * |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 String setContents(Source source, String contents) { | 800 String setContents(Source source, String contents) { |
| 801 if (contents == null) { | 801 if (contents == null) { |
| 802 _stampMap.remove(source); | 802 _stampMap.remove(source); |
| 803 return _contentMap.remove(source); | 803 return _contentMap.remove(source); |
| 804 } else { | 804 } else { |
| 805 _stampMap[source] = JavaSystem.currentTimeMillis(); | 805 _stampMap[source] = JavaSystem.currentTimeMillis(); |
| 806 return javaMapPut(_contentMap, source, contents); | 806 return javaMapPut(_contentMap, source, contents); |
| 807 } | 807 } |
| 808 } | 808 } |
| 809 } | 809 } |
| OLD | NEW |