http://gwt-code-reviews.appspot.com/1461803/diff/1/dev/core/src/com/google/gwt/dev/javac/SourceFileCompilationUnit.java
File
dev/core/src/com/google/gwt/dev/javac/SourceFileCompilationUnit.java
(right):

http://gwt-code-reviews.appspot.com/1461803/diff/1/dev/core/src/com/google/gwt/dev/javac/SourceFileCompilationUnit.java#newcode60
dev/core/src/com/google/gwt/dev/javac/SourceFileCompilationUnit.java:60:
sourceToken = diskCache.writeString(sourceCode);
On 2011/06/24 19:42:49, zundel wrote:
On 2011/06/24 19:36:23, scottb wrote:
> Can you explain this change?  What's wrong with the old code?

sourceFile.openContents() sometimes returns null.

That's not a very good answer.  Shared.readSource just calls
sourceFile.openContents().

http://gwt-code-reviews.appspot.com/1461803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to