Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 30686 invoked by uid 500); 17 Jun 2002 14:43:42 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 30674 invoked by uid 500); 17 Jun 2002 14:43:42 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Date: 17 Jun 2002 14:43:42 -0000 Message-ID: <20020617144342.90590.qmail@icarus.apache.org> From: butek@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/src/org/apache/axis/encoding TypeMappingImpl.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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); } /**