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

Unified Diff: pkg/analyzer/lib/src/generated/source.dart

Issue 913513003: Handle exception while getting modification stamp (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_io.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/source.dart
diff --git a/pkg/analyzer/lib/src/generated/source.dart b/pkg/analyzer/lib/src/generated/source.dart
index 9b0ce42e8f7b1880eb12ad6597231f4edd388dd1..7c48e3c3e525d11739dd7b4ce4211b3ceeead8de 100644
--- a/pkg/analyzer/lib/src/generated/source.dart
+++ b/pkg/analyzer/lib/src/generated/source.dart
@@ -439,17 +439,16 @@ abstract class Source implements AnalysisTarget {
bool get isInSystemLibrary;
/**
- * Return the modification stamp for this source. A modification stamp is a non-negative integer
- * with the property that if the contents of the source have not been modified since the last time
- * the modification stamp was accessed then the same value will be returned, but if the contents
- * of the source have been modified one or more times (even if the net change is zero) the stamps
- * will be different.
+ * Return the modification stamp for this source, or a negative value if the
+ * source does not exist. A modification stamp is a non-negative integer with
+ * the property that if the contents of the source have not been modified
+ * since the last time the modification stamp was accessed then the same value
+ * will be returned, but if the contents of the source have been modified one
+ * or more times (even if the net change is zero) the stamps will be different.
*
* Clients should consider using the the method
- * [AnalysisContext.getModificationStamp] because contexts can have local overrides
- * of the content of a source that the source is not aware of.
- *
- * @return the modification stamp for this source
+ * [AnalysisContext.getModificationStamp] because contexts can have local
+ * overrides of the content of a source that the source is not aware of.
*/
int get modificationStamp;
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_io.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698