Skip to content

Commit cad96b1

Browse files
author
pborissow
committed
- Updated calls to the javaxt Base64 class.
git-svn-id: svn://192.168.0.80/JavaXT/javaxt-exchange@1105 2c7b0aa6-e0b2-3c4e-bb4a-8b65b6c465ff
1 parent edc1c07 commit cad96b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/javaxt/exchange/Attachment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ else if (nodeName.equalsIgnoreCase("ItemAttachment")){
322322
}
323323
else if(nodeName.equalsIgnoreCase("Content")){
324324
if (getContent){
325-
return new javaxt.utils.Base64.InputStream(
325+
return javaxt.utils.Base64.decode(
326326
new ContentInputStream(inputStream)
327327
);
328328
}
@@ -452,7 +452,7 @@ public FileInputStream(){
452452
+ "<t:Content>").getBytes("UTF-8"));
453453

454454

455-
f = new javaxt.utils.Base64.InputStream(file.getInputStream(), javaxt.utils.Base64.ENCODE);
455+
f = javaxt.utils.Base64.encode(file.getInputStream());
456456
/*
457457
<FileAttachment>
458458
<AttachmentId/>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy