Revision: 786
http://stripes.svn.sourceforge.net/stripes/?rev=786&view=rev
Author: tfenne
Date: 2008-01-21 07:16:35 -0800 (Mon, 21 Jan 2008)
Log Message:
-----------
Fixed javadoc that had become out of date.
Modified Paths:
--------------
trunk/tests/src/net/sourceforge/stripes/test/TestGenericBean.java
Modified: trunk/tests/src/net/sourceforge/stripes/test/TestGenericBean.java
===================================================================
--- trunk/tests/src/net/sourceforge/stripes/test/TestGenericBean.java
2008-01-21 13:37:53 UTC (rev 785)
+++ trunk/tests/src/net/sourceforge/stripes/test/TestGenericBean.java
2008-01-21 15:16:35 UTC (rev 786)
@@ -1,19 +1,13 @@
package net.sourceforge.stripes.test;
/**
- * A JavaBean that is a generic type.
+ * A JavaBean that is a generic type. Used to test some of the more gnarly
aspects
+ * of binding into beans with lots of generics going on. This is exercised in
+ * [EMAIL PROTECTED]
net.sourceforge.stripes.controller.GenericsBindingTests#testGenericBean()}.
*
- * @author Alan Burlison
+ * The specifics of what is being tested is described in STS-427, which is now
fixed.
*
- * XXX If this class is not the top level in the inheritance hierarchy,
- * Stripes cannot bind its properties. e.g. if instead of:
- * public class TestGenericBean<A,B> { ... }
- * we have
- * class Class1<A,B> { ... }
- * class Class2<B,A> extends Class1<B,A> {}
- * class Class3<X,Y> extends Class2<X,Y> {}
- * public class TestGenericBean<A,B> extends Class3<A,B> {}
- * Stripes will fail to bind the properties of Class1 correctly. See STS-427
+ * @author Alan Burlison
*/
public class TestGenericBean {
public static class Class1<A,B> {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development