Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6451)

Issue 5642054: code review 5642054: bufio: drop error return for NewReaderSize and NewWriterSize (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by r
Modified:
12 years, 2 months ago
Reviewers:
rsc
CC:
golang-dev, gri, bradfitz
Visibility:
Public.

Description

bufio: drop error return for NewReaderSize and NewWriterSize It complicates the interface unnecessarily. Document this in go1.html. Also update the go/doc Makefile. Fixes issue 2836.

Patch Set 1 #

Patch Set 2 : diff -r d57a5894a18f https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r d57a5894a18f https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 4 : diff -r 320932bfe991 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 5 : diff -r 320932bfe991 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r e6f4226bfc5c https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -108 lines) Patch
M doc/Makefile View 2 chunks +3 lines, -8 lines 0 comments Download
M doc/go1.html View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M doc/go1.tmpl View 1 chunk +16 lines, -0 lines 0 comments Download
M src/pkg/bufio/bufio.go View 1 2 3 4 4 chunks +25 lines, -45 lines 0 comments Download
M src/pkg/bufio/bufio_test.go View 13 chunks +18 lines, -49 lines 0 comments Download
M src/pkg/image/png/writer.go View 1 chunk +1 line, -4 lines 0 comments Download
M src/pkg/net/http/cgi/host.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/http/fcgi/fcgi.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 2 months ago (2012-02-08 00:39:36 UTC) #1
gri
http://codereview.appspot.com/5642054/diff/18/src/pkg/bufio/bufio.go File src/pkg/bufio/bufio.go (right): http://codereview.appspot.com/5642054/diff/18/src/pkg/bufio/bufio.go#newcode44 src/pkg/bufio/bufio.go:44: // size. If the argument io.Reader is already a ...
12 years, 2 months ago (2012-02-08 01:20:38 UTC) #2
r
Hello golang-dev@googlegroups.com, gri@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 2 months ago (2012-02-08 01:47:47 UTC) #3
r
http://codereview.appspot.com/5642054/diff/18/src/pkg/bufio/bufio.go File src/pkg/bufio/bufio.go (right): http://codereview.appspot.com/5642054/diff/18/src/pkg/bufio/bufio.go#newcode44 src/pkg/bufio/bufio.go:44: // size. If the argument io.Reader is already a ...
12 years, 2 months ago (2012-02-08 01:48:43 UTC) #4
bradfitz
LGTM http://codereview.appspot.com/5642054/diff/2003/src/pkg/bufio/bufio.go File src/pkg/bufio/bufio.go (right): http://codereview.appspot.com/5642054/diff/2003/src/pkg/bufio/bufio.go#newcode60 src/pkg/bufio/bufio.go:60: return b now that it's just returning a ...
12 years, 2 months ago (2012-02-08 01:54:39 UTC) #5
r
*** Submitted as http://code.google.com/p/go/source/detail?r=062ed4b8b8de *** bufio: drop error return for NewReaderSize and NewWriterSize It complicates ...
12 years, 2 months ago (2012-02-08 02:07:20 UTC) #6
rsc
12 years, 2 months ago (2012-02-08 03:39:39 UTC) #7
LGTM

Thanks.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b