Revision: 546
http://svn.sourceforge.net/stripes/?rev=546&view=rev
Author: bengunter
Date: 2007-05-18 17:44:10 -0700 (Fri, 18 May 2007)
Log Message:
-----------
Added @Override where appropriate
Modified Paths:
--------------
trunk/tests/src/net/sourceforge/stripes/controller/GenericsBindingTests2.java
trunk/tests/src/net/sourceforge/stripes/controller/InheritanceTests.java
Modified:
trunk/tests/src/net/sourceforge/stripes/controller/GenericsBindingTests2.java
===================================================================
---
trunk/tests/src/net/sourceforge/stripes/controller/GenericsBindingTests2.java
2007-05-18 23:59:57 UTC (rev 545)
+++
trunk/tests/src/net/sourceforge/stripes/controller/GenericsBindingTests2.java
2007-05-19 00:44:10 UTC (rev 546)
@@ -11,21 +11,25 @@
* @author Tim Fennell
*/
public class GenericsBindingTests2 extends GenericsBindingTests {
+ @Override
@Test(groups="fast")
public void testSimpleTypeVariable() throws Exception {
super.testSimpleTypeVariable();
}
+ @Override
@Test(groups="fast")
public void testTypeVariableLists() throws Exception {
super.testTypeVariableLists();
}
+ @Override
@Test(groups="fast")
public void testTypeVariableMaps() throws Exception {
super.testTypeVariableMaps();
}
+ @Override
@Test(groups="fast")
public void testTypeVariableNestedProperties() throws Exception {
super.testTypeVariableNestedProperties();
Modified:
trunk/tests/src/net/sourceforge/stripes/controller/InheritanceTests.java
===================================================================
--- trunk/tests/src/net/sourceforge/stripes/controller/InheritanceTests.java
2007-05-18 23:59:57 UTC (rev 545)
+++ trunk/tests/src/net/sourceforge/stripes/controller/InheritanceTests.java
2007-05-19 00:44:10 UTC (rev 546)
@@ -45,12 +45,15 @@
// Overridden getter methods that simply allow additional validations to
be added
+ @Override
@Validate(required=false) // override validation on the Field
public String getOne() { return super.getOne(); }
+ @Override
@Validate(required=true,minlength=25) // override and add validation on
the Method
public String getTwo() { return super.getTwo(); }
+ @Override
@Validate(mask="\\d+") // add valiations where there were none
public String getFour() { return super.getFour(); }
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development