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

Unified Diff: dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Scanner.java

Issue 56933002: Version 0.8.10.1 (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/scanner/Scanner.java
===================================================================
--- dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Scanner.java (revision 29785)
+++ dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/scanner/Scanner.java (working copy)
@@ -170,7 +170,7 @@
}
appendEofToken();
instrumentation.metric("tokensCount", tokenCounter);
- return firstToken();
+ return getFirstToken();
} finally {
instrumentation.log(2); //Log if over 1ms
}
@@ -370,7 +370,7 @@
*
* @return the first token in the token stream that was scanned
*/
- protected Token firstToken() {
+ protected Token getFirstToken() {
return tokens.getNext();
}

Powered by Google App Engine
This is Rietveld 408576698