diff --git a/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java b/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java index 79daf58e16..a3d2152bbb 100644 --- a/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java +++ b/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java @@ -122,13 +122,6 @@ public class MAPIMessage extends POIReadOnlyDocument { public MAPIMessage(NPOIFSFileSystem fs) throws IOException { this(fs.getRoot()); } - /** - * @deprecated Use {@link #MAPIMessage(DirectoryNode)} instead - */ - @Deprecated - public MAPIMessage(DirectoryNode poifsDir, POIFSFileSystem fs) throws IOException { - this(poifsDir); - } /** * Constructor for reading MSG Files from a certain * point within a POIFS filesystem @@ -206,10 +199,6 @@ public class MAPIMessage extends POIReadOnlyDocument { } return getStringFromChunk(mainChunks.getHtmlBodyChunkString()); } - @Deprecated - public String getHmtlBody() throws ChunkNotFoundException { - return getHtmlBody(); - } /** * Gets the RTF Rich Message body of this Outlook Message, if this email @@ -426,7 +415,7 @@ public class MAPIMessage extends POIReadOnlyDocument { // Nothing suitable in the headers, try HTML try { - String html = getHmtlBody(); + String html = getHtmlBody(); if(html != null && html.length() > 0) { // Look for a content type in the meta headers Pattern p = Pattern.compile(