ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject [17/17] incubator-ignite git commit: # ignite-715 Fixed include package.
Date Fri, 10 Apr 2015 10:47:29 GMT
# ignite-715 Fixed include package.


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

Branch: refs/heads/ignite-715
Commit: 03f87b3e0c3882b32d939b3bbdae11b84b8b72b2
Parents: 28ba25e
Author: Andrey Novikov <anovikov@gridgain.com>
Authored: Fri Apr 10 17:47:10 2015 +0700
Committer: Andrey Novikov <anovikov@gridgain.com>
Committed: Fri Apr 10 17:47:10 2015 +0700

----------------------------------------------------------------------
 .../java/org/apache/ignite/tools/classgen/ClassesGenerator.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/03f87b3e/modules/tools/src/main/java/org/apache/ignite/tools/classgen/ClassesGenerator.java
----------------------------------------------------------------------
diff --git a/modules/tools/src/main/java/org/apache/ignite/tools/classgen/ClassesGenerator.java
b/modules/tools/src/main/java/org/apache/ignite/tools/classgen/ClassesGenerator.java
index 03e0384..ba0aab9 100644
--- a/modules/tools/src/main/java/org/apache/ignite/tools/classgen/ClassesGenerator.java
+++ b/modules/tools/src/main/java/org/apache/ignite/tools/classgen/ClassesGenerator.java
@@ -186,7 +186,8 @@ public class ClassesGenerator {
             Class<?> cls = Class.forName(clsName, false, ldr);
 
             if (Serializable.class.isAssignableFrom(cls) && !AbstractQueuedSynchronizer.class.isAssignableFrom(cls))
{
-                if (!cls.isInterface() && !Modifier.isAbstract(cls.getModifiers())
&& !cls.isEnum()) {
+                if (!cls.isInterface() && !Modifier.isAbstract(cls.getModifiers())
&& !cls.isEnum() &&
+                    !cls.getSimpleName().isEmpty()) {
                     try {
                         Field field = cls.getDeclaredField("serialVersionUID");
 


Mime
View raw message