Skip to content

Commit 8acd712

Browse files
Mike WiederholdMichael Wiederhold
authored andcommitted
Made an addOperation function private in MemcachedConnection
addOperation(MemcachedNode, Operation) This function isn't used outside of MemcachedConnection and it is the only one that doesn't put vbucket information into operations. It is a helper function of the addOperation(String, Operation) call so it doesn't need to add vbucket data but calling it from outside the MemcachedClient scope could cause issues Change-Id: I68fd4bb331fecf89655904396e825b0f42d7a17c Reviewed-on: http://review.couchbase.org/7802 Reviewed-by: Michael Wiederhold <[email protected]> Tested-by: Michael Wiederhold <[email protected]>
1 parent 4f53400 commit 8acd712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/spy/memcached/MemcachedConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ public void insertOperation(final MemcachedNode node, final Operation o) {
753753
getLogger().debug("Added %s to %s", o, node);
754754
}
755755

756-
public void addOperation(final MemcachedNode node, final Operation o) {
756+
private void addOperation(final MemcachedNode node, final Operation o) {
757757
o.setHandlingNode(node);
758758
o.initialize();
759759
node.addOp(o);

0 commit comments

Comments
 (0)