webwork/src/main/webwork/examples Person.java,1.1,1.2
[email protected] Mon, 31 May 2004 15:41:17 -0700
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/opensymphony/webwork/src/main/webwork/examples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18065
Modified Files:
Person.java
Log Message:
Small changes for new test cases
Index: Person.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/examples/Person.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Person.java 26 Feb 2002 06:32:28 -0000 1.1
+++ Person.java 31 May 2004 22:41:15 -0000 1.2
@@ -41,4 +41,16 @@
{
this.email = email;
}
+
+ // Methods used for tests only
+ public Integer getInteger(String i)
+ {
+ return new Integer(17);
+ }
+
+ public boolean getStringsEqual(String one, String two)
+ {
+ throw new RuntimeException("Method always fails");
+ }
+
}
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click