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

Issue 9716005: Close a stream when done (Closed)

Created:
8 years, 9 months ago by Brian Wilkerson
Modified:
8 years, 9 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Close a stream when done Committed: https://code.google.com/p/dart/source/detail?r=5595

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M compiler/java/com/google/dart/compiler/common/SourceInfo.java View 3 chunks +11 lines, -1 line 2 comments Download

Messages

Total messages: 3 (0 generated)
Brian Wilkerson
8 years, 9 months ago (2012-03-16 21:24:27 UTC) #1
scheglov
LGTM http://codereview.chromium.org/9716005/diff/1/compiler/java/com/google/dart/compiler/common/SourceInfo.java File compiler/java/com/google/dart/compiler/common/SourceInfo.java (right): http://codereview.chromium.org/9716005/diff/1/compiler/java/com/google/dart/compiler/common/SourceInfo.java#newcode92 compiler/java/com/google/dart/compiler/common/SourceInfo.java:92: if (reader != null) { com.google.common.io.Closeables.closeQuietly(Closeable) ?
8 years, 9 months ago (2012-03-16 21:33:22 UTC) #2
Brian Wilkerson
8 years, 9 months ago (2012-03-16 21:45:06 UTC) #3
http://codereview.chromium.org/9716005/diff/1/compiler/java/com/google/dart/c...
File compiler/java/com/google/dart/compiler/common/SourceInfo.java (right):

http://codereview.chromium.org/9716005/diff/1/compiler/java/com/google/dart/c...
compiler/java/com/google/dart/compiler/common/SourceInfo.java:92: if (reader !=
null) {
On 2012/03/16 21:33:22, scheglov wrote:
> com.google.common.io.Closeables.closeQuietly(Closeable) ?

Sure, but in a later CL.

Powered by Google App Engine
This is Rietveld 408576698