Make TestMemcacheClient#cacheMetrics runnable with Java 8.
@@ -537,7 +537,7 @@ final class TestMemcacheClient {
Map<String, Long> res = new HashMap<>(raw.size());
for (Response resp : raw)
- res.put((String)resp.key(), Long.parseLong(String.valueOf(resp.getObject())));
+ res.put((String)resp.key(), Long.parseLong(String.valueOf(resp.<String>getObject())));
return res;
}
