From f904acbb01f04ff32e9ecf9f69a4eb82cecbbc5f Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Thu, 5 Jan 2017 10:41:23 +0000 Subject: [PATCH] bug 60331: remove deprecated constructor and method in scratchpad o.a.p.hsmf.MAPIMessage git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1777444 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hsmf/MAPIMessage.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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( -- 2.39.5