branch develop updated (e2ff88c -> 6ed2d60)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository jaxx. See https://gitlab.nuiton.org/nuiton/jaxx.git from e2ff88c [jgitflow-maven-plugin]Updating develop poms back to pre merge state new 6ed2d60 Do not display UIHandler warning on abstract classes (Fixes #4081) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 6ed2d60103db878a2fd92248ffd3ef72bcaad052 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Dec 7 13:49:49 2016 +0100 Do not display UIHandler warning on abstract classes (Fixes #4081) Summary of changes: jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jaxx. See https://gitlab.nuiton.org/nuiton/jaxx.git commit 6ed2d60103db878a2fd92248ffd3ef72bcaad052 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Dec 7 13:49:49 2016 +0100 Do not display UIHandler warning on abstract classes (Fixes #4081) --- jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java b/jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java index d1d3f68..3c9ef45 100644 --- a/jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java +++ b/jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java @@ -671,9 +671,13 @@ public class JAXXCompiler { try { uiHandlerClass = ClassDescriptorHelper.getClassDescriptor(uiHandlerFullClassName, getClassLoader()); if (uiHandlerClass != null && !ClassDescriptorHelper.isAssignableFrom(uiHandlerClass, UIHandler.class)) { - reportWarning( - "Found a handler " + uiHandlerFullClassName - + " which does not implements " + UIHandler.class.getName()); + String isAbstractValue = documentElement.getAttribute("abstract"); + boolean isAbstract = isAbstractValue != null && "true".equals(isAbstractValue); + if (!isAbstract) { + reportWarning( + "Found a handler " + uiHandlerFullClassName + + " which does not implements " + UIHandler.class.getName()); + } uiHandlerClass = null; } -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm