Revision: 566
http://svn.sourceforge.net/stripes/?rev=566&view=rev
Author: bengunter
Date: 2007-06-04 10:11:19 -0700 (Mon, 04 Jun 2007)
Log Message:
-----------
Fixed STS-381: characterEncoding spelled wrong in MockHttpRequest
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/mock/MockHttpServletRequest.java
Modified:
trunk/stripes/src/net/sourceforge/stripes/mock/MockHttpServletRequest.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/mock/MockHttpServletRequest.java
2007-06-04 15:24:49 UTC (rev 565)
+++ trunk/stripes/src/net/sourceforge/stripes/mock/MockHttpServletRequest.java
2007-06-04 17:11:19 UTC (rev 566)
@@ -61,7 +61,7 @@
private Map<String,String[]> parameters = new HashMap<String,String[]>();
private String method = "POST";
private HttpSession session;
- private String chacarcterEncoding = "UTF-8";
+ private String characterEncoding = "UTF-8";
private List<Locale> locales = new ArrayList<Locale>();
private Principal userPrincipal;
private Set<String> roles = new HashSet<String>();
@@ -248,10 +248,10 @@
}
/** Gets the character encoding, defaults to UTF-8. */
- public String getCharacterEncoding() { return this.chacarcterEncoding; }
+ public String getCharacterEncoding() { return this.characterEncoding; }
/** Sets the character encoding that will be returned by
getCharacterEncoding(). */
- public void setCharacterEncoding(String encoding) {
this.chacarcterEncoding = encoding; }
+ public void setCharacterEncoding(String encoding) { this.characterEncoding
= encoding; }
/** Always returns -1 (unknown). */
public int getContentLength() { return -1; }
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