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

Issue 8294044: state: use allInfo.update only

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by rog
Modified:
11 years ago
Reviewers:
dimitern, mp+157389, fwereade, gz
Visibility:
Public.

Description

state: use allInfo.update only We consider allInfo.markRemoved and add alInfo.add to be private methods. I'm considering adding a leading underscore to methods that should be considered private. Thoughts appreciated in that respect. https://code.launchpad.net/~rogpeppe/juju-core/269-megawatcher-use-update-not-markremoved/+merge/157389 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: use allInfo.update only #

Patch Set 3 : state: use allInfo.update only #

Patch Set 4 : state: use allInfo.update only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -18 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/megabacking.go View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M state/megawatcher.go View 1 2 5 chunks +10 lines, -1 line 0 comments Download
M state/megawatcher_internal_test.go View 10 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 5
rog
Please take a look.
11 years ago (2013-04-05 14:52:38 UTC) #1
rog
Please take a look.
11 years ago (2013-04-05 15:31:52 UTC) #2
dimitern
LGTM, this seems almost trivial.
11 years ago (2013-04-05 15:43:32 UTC) #3
gz
LGTM. The idea of using underscores rather than just comments above the file-internal functions seems ...
11 years ago (2013-04-05 15:50:54 UTC) #4
fwereade
11 years ago (2013-04-05 21:09:57 UTC) #5
On 2013/04/05 15:50:54, gz wrote:
> LGTM.
> 
> The idea of using underscores rather than just comments above the
file-internal
> functions seems reasonable to me.

+1; LGTM with that (the comments are IMO not obvious enough)
Sign in to reply to this message.

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