Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
incorrect conditional statement for NOT_FOUND status #37
In code com.schooner.MemCached.AscIIClient
line 580： String line = new SockInputStream(sock, Integer.MAX_VALUE).getLine().split("\r\n");
And com.danga.MemCached.MemCachedClient.NOTFOUND = "NOT_FOUND\r\n", but variable line = "NOT_FOUND", so the result of line 585 is always FALSE.
I use "NOTFOUND.startsWith(line)" to instead of "NOTFOUND.equals(line)" temporarily.