ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivasilin...@apache.org
Subject [17/23] incubator-ignite git commit: #ignite-964: IgniteJsEmitResult code style.
Date Wed, 01 Jul 2015 10:02:50 GMT
#ignite-964: IgniteJsEmitResult code style.


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

Branch: refs/heads/ignite-964-1
Commit: cec45347bc6475c6b59f9128732b5c696ec20c47
Parents: 7e0a63b
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Jul 1 12:26:52 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Jul 1 12:26:52 2015 +0300

----------------------------------------------------------------------
 .../processors/rest/handlers/scripting/IgniteJsEmitResult.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/cec45347/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/scripting/IgniteJsEmitResult.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/scripting/IgniteJsEmitResult.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/scripting/IgniteJsEmitResult.java
index ecd6cba..b5ae106 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/scripting/IgniteJsEmitResult.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/scripting/IgniteJsEmitResult.java
@@ -37,9 +37,9 @@ public class IgniteJsEmitResult {
         List<T3<Object, Object, Object>> res = emitResPerCall.get();
 
         if (res == null)
-            res = new ArrayList();
+            res = new ArrayList<>();
 
-        res.add(new T3(f, args, node));
+        res.add(new T3<>(f, args, node));
 
         emitResPerCall.set(res);
     }


Mime
View raw message