axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava Utils.java
Date Fri, 31 Jan 2003 01:30:58 GMT
stevel      2003/01/30 17:30:58

  Modified:    java/src/org/apache/axis/wsdl/toJava Utils.java
  Log:
  added proper spelling of octet-stream; retained old one as a google search showed that it
does get used sporadically
  
  Revision  Changes    Path
  1.68      +2 -1      xml-axis/java/src/org/apache/axis/wsdl/toJava/Utils.java
  
  Index: Utils.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/Utils.java,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- Utils.java	19 Jan 2003 21:25:10 -0000	1.67
  +++ Utils.java	31 Jan 2003 01:30:57 -0000	1.68
  @@ -112,7 +112,8 @@
               else if (mimeType.startsWith("multipart/")) {
                   return "org.apache.axis.holders.MimeMultipartHolder" + mimeDimensions;
               }
  -            else if (mimeType.startsWith("application/octetstream")) {
  +            else if (mimeType.startsWith("application/octetstream")
  +                    || mimeType.startsWith("application/octet-stream")) {
                   return "org.apache.axis.holders.OctetStreamHolder" + mimeDimensions;
               }
               else if (mimeType.equals("text/xml") ||
  
  
  

Mime
View raw message