Fix deprecated warning

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135118 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2011-06-13 14:46:21 +00:00
parent 48a5868947
commit 6f3f1a479e

View File

@ -53,7 +53,7 @@ public class DirectoryChunk extends Chunk {
* object to process it with.
*/
public MAPIMessage getAsEmbededMessage() throws IOException {
return new MAPIMessage(dir, dir.getFileSystem());
return new MAPIMessage(dir);
}
@Override