aboutsummaryrefslogtreecommitdiff
path: root/common/src/at/gv/egovernment/moa/util
diff options
context:
space:
mode:
authorpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-08-01 12:32:33 +0000
committerpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-08-01 12:32:33 +0000
commitdcc799b7a090d1a4e3a4f0ee1779bd86eedf7441 (patch)
treea0ccc1f207233f1083ac1e087cbaede84270bf58 /common/src/at/gv/egovernment/moa/util
parentb6414c56a0dbbb2dbc3684e0ee434e0f711ad6ef (diff)
downloadmoa-id-spss-dcc799b7a090d1a4e3a4f0ee1779bd86eedf7441.tar.gz
moa-id-spss-dcc799b7a090d1a4e3a4f0ee1779bd86eedf7441.tar.bz2
moa-id-spss-dcc799b7a090d1a4e3a4f0ee1779bd86eedf7441.zip
Changed encode() for serializeNode and #&13; problem. Now the (default) line break is \n instead of \r\n on Windows platforms
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@874 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'common/src/at/gv/egovernment/moa/util')
-rw-r--r--common/src/at/gv/egovernment/moa/util/Base64Utils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/at/gv/egovernment/moa/util/Base64Utils.java b/common/src/at/gv/egovernment/moa/util/Base64Utils.java
index ba2c4fb0e..ad29180a6 100644
--- a/common/src/at/gv/egovernment/moa/util/Base64Utils.java
+++ b/common/src/at/gv/egovernment/moa/util/Base64Utils.java
@@ -92,7 +92,7 @@ public class Base64Utils {
*/
public static String encode(InputStream inputStream) throws IOException {
ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
- Base64OutputStream base64Stream = new Base64OutputStream(byteStream);
+ Base64OutputStream base64Stream = new Base64OutputStream(byteStream, "\n".getBytes());
byte[] bytes = new byte[256];
int bytesRead;