Author: alexsmirnov
Date: 2010-07-22 19:33:00 -0400 (Thu, 22 Jul 2010)
New Revision: 18208
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attribute.java
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Signature.java
Log:
work in progress
https://jira.jboss.org/browse/RF-8907
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attribute.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attribute.java 2010-07-22
23:30:41 UTC (rev 18207)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Attribute.java 2010-07-22
23:33:00 UTC (rev 18208)
@@ -85,7 +85,7 @@
Description description() default @Description();
- Signature signature() default @Signature();
+ Signature signature() default @Signature(returnType=Signature.NONE.class);
EventName[] events() default {};
Modified:
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Signature.java
===================================================================
---
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Signature.java 2010-07-22
23:30:41 UTC (rev 18207)
+++
root/cdk/trunk/plugins/annotations/src/main/java/org/richfaces/cdk/annotations/Signature.java 2010-07-22
23:33:00 UTC (rev 18208)
@@ -40,7 +40,7 @@
*
* @return
*/
- public Class<?> returnType() default NONE.class;
+ Class<?> returnType() default Void.class;
/**
* <p class="changed_added_4_0">
@@ -49,7 +49,7 @@
*
* @return
*/
- public Class<?>[] parameters() default {};
+ Class<?>[] parameters() default {};
public static final class NONE {}
}