webwork/src/main/webwork/examples Test.java,1.10,1.11

[email protected] Mon, 10 Nov 2003 20:30:30 -0800
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:/tmp/cvs-serv1482/src/main/webwork/examples

Modified Files:
	Test.java 
Log Message:
Couple more methods for fun

Index: Test.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/examples/Test.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Test.java	3 Jul 2003 13:10:35 -0000	1.10
+++ Test.java	11 Nov 2003 04:30:28 -0000	1.11
@@ -73,6 +73,11 @@
       return two;
    }
 
+   public boolean getStringsEqual(String one, String two)
+   {
+     return one.equals(two);
+   }
+
    public Integer getInteger(int i)
    {
       return new Integer(i);
@@ -98,7 +103,12 @@
    {
      return s1+s2;
    }
-  
+
+   public String getSameString(String s)
+   {
+     return s;
+   }
+
    // ParameterAware implementation ---------------------------------
    public void setParameters(Map parameters)
    {




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/