characterEncoding spelled wrong in MockHttpRequest
--------------------------------------------------

                 Key: STS-381
                 URL: http://mc4j.org/jira/browse/STS-381
             Project: Stripes
          Issue Type: Bug
    Affects Versions: Release 1.4.3
            Reporter: John Newman
         Assigned To: Tim Fennell
            Priority: Trivial


just a minor typo that was throwing me off since the method i wanted to call 
through freemarker doesn't exist

Index: 
C:/projects/stripes/stripes/src/net/sourceforge/stripes/mock/MockHttpServletRequest.java
===================================================================
--- 
C:/projects/stripes/stripes/src/net/sourceforge/stripes/mock/MockHttpServletRequest.java
    (revision 563)
+++ 
C:/projects/stripes/stripes/src/net/sourceforge/stripes/mock/MockHttpServletRequest.java
    (working copy)
@@ -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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
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

Reply via email to