axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding TypeMappingImpl.java
Date Mon, 17 Jun 2002 14:43:42 GMT
butek       2002/06/17 07:43:41

  Modified:    java/src/org/apache/axis/encoding TypeMappingImpl.java
  Log:
  namespaces.toArray() returns an Object array, NOT a String array.  The
  TCK called this method and failed.
  
  Revision  Changes    Path
  1.13      +2 -1      xml-axis/java/src/org/apache/axis/encoding/TypeMappingImpl.java
  
  Index: TypeMappingImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/TypeMappingImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TypeMappingImpl.java	17 Jun 2002 13:27:23 -0000	1.12
  +++ TypeMappingImpl.java	17 Jun 2002 14:43:41 -0000	1.13
  @@ -164,7 +164,8 @@
        * styles and XML schema namespaces.
        */
       public String[] getSupportedEncodings() {
  -        return (String[]) namespaces.toArray();
  +        String[] stringArray = new String[namespaces.size()];
  +        return (String[]) namespaces.toArray(stringArray);
       }
   
       /**
  
  
  

Mime
View raw message