ASF Bugzilla – Attachment 22563 Details for
Bug 45804
[PATCH] hsmf -- MAPIMessage does not work with Outlook 3.0 .msg files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Changes to the StringChunk class
mypatch.patch (text/plain), 878 bytes, created by
Randall Scarberry
on 2008-09-14 14:54:09 UTC
(
hide
)
Description:
Changes to the StringChunk class
Filename:
MIME Type:
Creator:
Randall Scarberry
Created:
2008-09-14 14:54:09 UTC
Size:
878 bytes
patch
obsolete
>Index: src/scratchpad/src/org/apache/poi/hsmf/datatypes/StringChunk.java >=================================================================== >--- src/scratchpad/src/org/apache/poi/hsmf/datatypes/StringChunk.java (revision 695289) >+++ src/scratchpad/src/org/apache/poi/hsmf/datatypes/StringChunk.java (working copy) >@@ -27,11 +27,22 @@ > > private String value; > >- public StringChunk(int chunkId) { >+ /** >+ * Constructor for specifying both the chunk id and the type, in case >+ * the default type of Types.STRING does not suffice. >+ * >+ * @param chunkId >+ * @param type >+ */ >+ public StringChunk(int chunkId, int type) { > this.chunkId = chunkId; >- this.type = Types.STRING; >+ this.type = type; > } > >+ public StringChunk(int chunkId) { >+ this(chunkId, Types.STRING); >+ } >+ > /* (non-Javadoc) > * @see org.apache.poi.hsmf.Chunk.Chunk#getValueByteArray() > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45804
: 22563 |
22571