Skip to content

Commit

Permalink
remove AttachmentEntry.getData()
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Sep 4, 2017
1 parent d743b3c commit ed46d8d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package de.metas.ui.web.attachments;

import org.adempiere.util.Services;

import de.metas.attachments.AttachmentEntry;
import de.metas.attachments.IAttachmentDAO;
import de.metas.ui.web.window.datatypes.DocumentId;

/*
Expand Down Expand Up @@ -62,7 +65,7 @@ public String getFilename()
@Override
public byte[] getData()
{
return entry.getData();
return Services.get(IAttachmentDAO.class).retrieveData(entry);
}

@Override
Expand Down

0 comments on commit ed46d8d

Please sign in to comment.