ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [20/38] ignite git commit: Make TestMemcacheClient#cacheMetrics runnable with Java 8.
Date Thu, 11 May 2017 10:19:05 GMT
Make TestMemcacheClient#cacheMetrics runnable with Java 8.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/8c3ac146
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/8c3ac146
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/8c3ac146

Branch: refs/heads/ignite-5075
Commit: 8c3ac1463b7327695d5afe33585cb74732f7ae68
Parents: 825a782
Author: shroman <rshtykh@yahoo.com>
Authored: Mon May 8 22:32:35 2017 +0900
Committer: shroman <rshtykh@yahoo.com>
Committed: Mon May 8 22:32:35 2017 +0900

----------------------------------------------------------------------
 .../apache/ignite/internal/processors/rest/TestMemcacheClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/8c3ac146/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestMemcacheClient.java
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestMemcacheClient.java
b/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestMemcacheClient.java
index 4a66743..a9a0489 100644
--- a/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestMemcacheClient.java
+++ b/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestMemcacheClient.java
@@ -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;
     }


Mime
View raw message