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
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ public class XtaMessageExampleLoader {
}
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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment