Author: onealj
Date: Thu Jan 5 10:41:23 2017
New Revision: 1777444
URL: http://svn.apache.org/viewvc?rev=1777444&view=rev
Log:
bug 60331: remove deprecated constructor and method in scratchpad
o.a.p.hsmf.MAPIMessage
Modified:
poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java
URL:
http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java?rev=1777444&r1=1777443&r2=1777444&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/MAPIMessage.java Thu Jan
5 10:41:23 2017
@@ -123,13 +123,6 @@ public class MAPIMessage extends POIRead
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
* @param poifsDir Directory containing the message
@@ -206,10 +199,6 @@ public class MAPIMessage extends POIRead
}
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 POIRead
// 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(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]