[jboss-cvs] jboss-seam/src/main/org/jboss/seam/mock ...
Gavin King
gavin.king at jboss.com
Wed Jul 18 05:53:53 EDT 2007
User: gavin
Date: 07/07/18 05:53:53
Modified: src/main/org/jboss/seam/mock MockHttpServletRequest.java
Log:
JBSEAM-1691
Revision Changes Path
1.20 +2 -3 jboss-seam/src/main/org/jboss/seam/mock/MockHttpServletRequest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MockHttpServletRequest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/mock/MockHttpServletRequest.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- MockHttpServletRequest.java 16 Jul 2007 15:15:01 -0000 1.19
+++ MockHttpServletRequest.java 18 Jul 2007 09:53:53 -0000 1.20
@@ -169,13 +169,12 @@
public String getRequestURI()
{
- //TODO
- return null;
+ return "http://localhost:8080/myproject/page.seam";
}
public StringBuffer getRequestURL()
{
- return new StringBuffer("http://localhost:8080/myproject/page.seam");
+ return new StringBuffer( getRequestURI() );
}
public String getServletPath()
More information about the jboss-cvs-commits
mailing list