Author: thilina
Date: Fri Oct 13 01:49:44 2006
New Revision: 463595
URL: http://svn.apache.org/viewvc?view=rev&rev=463595
Log:
http://issues.apache.org/jira/browse/WSCOMMONS-110
fixing the ClassCast..
My bad.. Have missed this point at the recent refactoring..
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Attachments.java
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Attachments.java
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Attachments.java?view=diff&rev=463595&r1=463594&r2=463595
==============================================================================
---
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Attachments.java
(original)
+++
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/Attachments.java
Fri Oct 13 01:49:44 2006
@@ -404,7 +404,7 @@
if (partContentID == null & partIndex
== 1) {
String id =
"firstPart_"+UUIDGenerator.getUUID();
- attachmentsMap.put(id, nextPart);
+ attachmentsMap.put(id,
nextPart.getDataHandler());
firstPartId = id;
return nextPart.getDataHandler();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]