You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ve...@apache.org on 2009/01/10 16:59:00 UTC

svn commit: r733293 - /webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPMessageImpl.java

Author: veithen
Date: Sat Jan 10 07:58:59 2009
New Revision: 733293

URL: http://svn.apache.org/viewvc?rev=733293&view=rev
Log:
Changed misleading (private) method name.

Modified:
    webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPMessageImpl.java

Modified: webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPMessageImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPMessageImpl.java?rev=733293&r1=733292&r2=733293&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPMessageImpl.java (original)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPMessageImpl.java Sat Jan 10 07:58:59 2009
@@ -78,7 +78,7 @@
             }
         }
 
-        setCharsetEncoding(contentType);
+        initCharsetEncodingFromContentType(contentType);
         soapPart = new SOAPPartImpl(this, soapEnvelope);
     }
 
@@ -99,9 +99,7 @@
                 }
             }
         }
-        //Setting the whole content-type string to CharsetEncoding.
-        //Is this correct?
-        setCharsetEncoding(tmpContentType);
+        initCharsetEncodingFromContentType(tmpContentType);
         if (contentType != null) {
             soapPart = new SOAPPartImpl(this, inputstream, mimeHeaders);
         } else {
@@ -487,7 +485,7 @@
      *
      * @param contentType
      */
-    private void setCharsetEncoding(final String contentType) {
+    private void initCharsetEncodingFromContentType(final String contentType) {
         if (contentType != null) {
             int delimiterIndex = contentType.lastIndexOf("charset");
             if (delimiterIndex > 0) {