]> source.dussan.org Git - poi.git/commitdiff
Fix deprecated warning
authorNick Burch <nick@apache.org>
Mon, 13 Jun 2011 14:46:21 +0000 (14:46 +0000)
committerNick Burch <nick@apache.org>
Mon, 13 Jun 2011 14:46:21 +0000 (14:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135118 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hsmf/datatypes/DirectoryChunk.java

index 647be0c25b17c1ba72972f452daee87ce2fbcd6a..156c6f2602956dc5fecfc3f81a6491fcd2b5d815 100644 (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