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

Unified Diff: dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/IncrementalAnalysisCache.java

Issue 64033002: Version 0.8.10.8 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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
Index: dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/IncrementalAnalysisCache.java
===================================================================
--- dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/IncrementalAnalysisCache.java (revision 30037)
+++ dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/IncrementalAnalysisCache.java (working copy)
@@ -258,6 +258,6 @@
* @return {@code true} if the cache contains changes to be analyzed, else {@code false}
*/
public boolean hasWork() {
- return oldLength > 0 && newLength > 0;
+ return oldLength > 0 || newLength > 0;
}
}

Powered by Google App Engine
This is Rietveld 408576698