You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/06/04 05:04:29 UTC
svn commit: r662951 -
/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java
Author: lu4242
Date: Tue Jun 3 20:04:28 2008
New Revision: 662951
URL: http://svn.apache.org/viewvc?rev=662951&view=rev
Log:
on template pattern non abstract methods should be copied, no matter if include @JSFProperty doclet or annotation
Modified:
myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java
Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java?rev=662951&r1=662950&r2=662951&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java Tue Jun 3 20:04:28 2008
@@ -451,7 +451,7 @@
tag = method.getTagByName("JSFProperty", false);
anno = getAnnotation(method, "JSFProperty");
- if (tag == null && anno == null)
+ if ( (tag == null && anno == null) || !method.isAbstract())
{
//Get declaration signature in a way that we don't need
//to declare imports.
@@ -483,7 +483,8 @@
writer.append('}');
writer.append('\n');
writer.append('\n');
- }
+ }
+
}
return writer.toString();