Skip to content

Commit 4de4516

Browse files
committed
fix stupid bug return false instead of null for errors on get
1 parent 192093a commit 4de4516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/danga/MemCached/MemCachedClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @author Kevin Burton <[email protected]>
2020
* @author Robert Watts <[email protected]>
2121
* @author Vin Chawla <[email protected]>
22-
* @version 1.5.2
22+
* @version 1.6.1
2323
*/
2424
package com.danga.MemCached;
2525

@@ -1200,7 +1200,7 @@ public Object get( String key, Integer hashCode, boolean asString ) {
12001200
errorHandler.handleErrorOnGet( this, e, key );
12011201

12021202
log.error( "failed to sanitize your key!", e );
1203-
return false;
1203+
return null;
12041204
}
12051205

12061206
// get SockIO obj using cache key

0 commit comments

Comments
 (0)