ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [09/17] ignite git commit: Do not print out binary format warning for org.jsr166 classes
Date Fri, 26 Feb 2016 12:12:37 GMT
Do not print out binary format warning for org.jsr166 classes


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

Branch: refs/heads/ignite-1232
Commit: 4124d338d9d5c91c80c1bb9ce596c50a7764cab7
Parents: ff80f5d
Author: Valentin Kulichenko <valentin.kulichenko@gmail.com>
Authored: Wed Feb 24 20:10:57 2016 -0800
Committer: Valentin Kulichenko <valentin.kulichenko@gmail.com>
Committed: Wed Feb 24 20:10:57 2016 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/internal/util/IgniteUtils.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4124d338/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
index 103ea9e..db2960d 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
@@ -5894,7 +5894,9 @@ public abstract class IgniteUtils {
      * @return {@code True} if given class is of {@code Ignite} type.
      */
     public static boolean isIgnite(Class<?> cls) {
-        return cls.getName().startsWith("org.apache.ignite");
+        String name = cls.getName();
+
+        return name.startsWith("org.apache.ignite") || name.startsWith("org.jsr166");
     }
 
     /**


Mime
View raw message