xml-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snic...@apache.org
Subject cvs commit: xml-soap/java/src/org/apache/soap/encoding/soapenc MimePartSerializer.java
Date Mon, 06 Jan 2003 17:57:14 GMT
snichol     2003/01/06 09:57:14

  Modified:    java/src/org/apache/soap/encoding/soapenc
                        MimePartSerializer.java
  Log:
  Serialize null values using specified javaType and context, rather than
  always using Object.class and null.
  
  Revision  Changes    Path
  1.5       +2 -2      xml-soap/java/src/org/apache/soap/encoding/soapenc/MimePartSerializer.java
  
  Index: MimePartSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/encoding/soapenc/MimePartSerializer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MimePartSerializer.java	30 Aug 2002 21:39:00 -0000	1.4
  +++ MimePartSerializer.java	6 Jan 2003 17:57:14 -0000	1.5
  @@ -103,8 +103,8 @@
                    src.getClass().toString() + "' to MimePartSerializer");
   
           if (src == null) {
  -            SoapEncUtils.generateNullStructure(inScopeEncStyle, Object.class,
  -                                               null, sink, nsStack, xjmr, ctx);
  +            SoapEncUtils.generateNullStructure(inScopeEncStyle, javaType,
  +                                               context, sink, nsStack, xjmr, ctx);
           } else {
               // get a MimeBodyPart out of the various possible input types
               DataSource ds = null;
  
  
  

--
To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>


Mime
View raw message