Skip to content
Snippets Groups Projects
Commit 29f60b3e authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-6891 KOP-2735 cleanup

parent 895679f4
Branches
Tags
No related merge requests found
...@@ -180,7 +180,7 @@ public class XtaMessageExampleLoader { ...@@ -180,7 +180,7 @@ public class XtaMessageExampleLoader {
} }
private static DataHandler createContentDataHandler(byte[] data) { private static DataHandler createContentDataHandler(byte[] data) {
return new DataHandler(new FileDataSource("application/octet-stream")); return new DataHandler(new ByteArrayDataSource(data, "application/octet-stream"));
} }
private static byte[] readBytesFromResource(String path) { private static byte[] readBytesFromResource(String path) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment