ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [01/50] [abbrv] incubator-ignite git commit: Ignite-107 Aop Fix
Date Tue, 27 Jan 2015 13:57:09 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-49 b05a94ecd -> 321ca78cf


Ignite-107 Aop Fix


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

Branch: refs/heads/ignite-49
Commit: c3b64871a922df4fbc1cda0ae7f1e96434e89211
Parents: 5ed84ec
Author: avinogradov <avinogradov@gridgain.com>
Authored: Thu Jan 22 14:46:17 2015 +0300
Committer: avinogradov <avinogradov@gridgain.com>
Committed: Thu Jan 22 14:46:17 2015 +0300

----------------------------------------------------------------------
 .../grid/kernal/processors/closure/GridClosureProcessor.java     | 4 +---
 .../grid/kernal/processors/resource/GridResourceUtils.java       | 4 +++-
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c3b64871/modules/core/src/main/java/org/gridgain/grid/kernal/processors/closure/GridClosureProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/closure/GridClosureProcessor.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/closure/GridClosureProcessor.java
index 7f17c45..2a6deda 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/closure/GridClosureProcessor.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/closure/GridClosureProcessor.java
@@ -36,9 +36,7 @@ import org.gridgain.grid.util.worker.*;
 import org.jdk8.backport.*;
 import org.jetbrains.annotations.*;
 
-import java.io.IOException;
-import java.io.ObjectInput;
-import java.io.ObjectOutput;
+import java.io.*;
 import java.util.*;
 import java.util.concurrent.*;
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c3b64871/modules/core/src/main/java/org/gridgain/grid/kernal/processors/resource/GridResourceUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/resource/GridResourceUtils.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/resource/GridResourceUtils.java
index 20d2c20..10b6a66 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/resource/GridResourceUtils.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/resource/GridResourceUtils.java
@@ -18,6 +18,7 @@
 package org.gridgain.grid.kernal.processors.resource;
 
 import org.apache.ignite.*;
+import org.apache.ignite.lang.*;
 
 import java.lang.reflect.*;
 import java.util.concurrent.*;
@@ -99,6 +100,7 @@ final class GridResourceUtils {
 
         // Need to inspect anonymous classes, callable and runnable instances.
         return f.getName().startsWith("this$") || f.getName().startsWith("val$") ||
-            Callable.class.isAssignableFrom(f.getType()) || Runnable.class.isAssignableFrom(f.getType());
+                Callable.class.isAssignableFrom(f.getType()) || Runnable.class.isAssignableFrom(f.getType())
||
+                IgniteClosure.class.isAssignableFrom(f.getType());
     }
 }


Mime
View raw message