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

Issue 5311067: code review 5311067: pkg: remove .String() from some print arguments (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by rsc
Modified:
13 years, 5 months ago
Reviewers:
CC:
golang-dev, bradfitz, iant2
Visibility:
Public.

Description

pkg: remove .String() from some print arguments I found these by adding a check to govet, but the check produces far too many false positives to be useful. Even so, these few seem worth cleaning up.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -28 lines) Patch
M src/pkg/crypto/bcrypt/bcrypt_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/exp/gui/x11/conn.go View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/expvar/expvar.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/ast/print.go View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/go/scanner/errors.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/scanner/scanner_test.go View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/gob/decode.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/gob/encode.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/smtp/smtp_test.go View 1 4 chunks +11 lines, -11 lines 0 comments Download
M src/pkg/strconv/fp_test.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2011-10-27 19:23:47 UTC) #1
bradfitz
LGTM On Oct 27, 2011 12:23 PM, <rsc@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > > Message: ...
13 years, 5 months ago (2011-10-27 19:28:59 UTC) #2
iant2
LGTM rsc@golang.org writes: > Reviewers: golang-dev_googlegroups.com, > > Message: > Hello golang-dev@googlegroups.com, > > I'd ...
13 years, 5 months ago (2011-10-27 19:42:27 UTC) #3
rsc
13 years, 5 months ago (2011-10-28 01:03:58 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=738f105abf75 ***

pkg: remove .String() from some print arguments

I found these by adding a check to govet, but the check
produces far too many false positives to be useful.
Even so, these few seem worth cleaning up.

R=golang-dev, bradfitz, iant
CC=golang-dev
http://codereview.appspot.com/5311067
Sign in to reply to this message.

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