Skip to content

Commit d7eb0b2

Browse files
committed
lock down internal methods
1 parent 6287f27 commit d7eb0b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/danga/MemCached/SockIOPool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ protected void clearHostFromPool( Map<String,Map<SockIO,Long>> pool, String host
11331133
* @param socket socket to return
11341134
* @param addToAvail add to avail pool if true
11351135
*/
1136-
public void checkIn( SockIO socket, boolean addToAvail ) {
1136+
private void checkIn( SockIO socket, boolean addToAvail ) {
11371137

11381138
String host = socket.getHost();
11391139
log.debug( "++++ calling check-in on socket: " + socket.toString() + " for host: " + host );
@@ -1166,7 +1166,7 @@ public void checkIn( SockIO socket, boolean addToAvail ) {
11661166
*
11671167
* @param socket socket to return
11681168
*/
1169-
public void checkIn( SockIO socket ) {
1169+
private void checkIn( SockIO socket ) {
11701170
checkIn( socket, true );
11711171
}
11721172

0 commit comments

Comments
 (0)