summaryrefslogtreecommitdiffstats
path: root/src/scratchpad
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-09-21 05:45:57 +0000
committerDominik Stadler <centic@apache.org>2016-09-21 05:45:57 +0000
commite6a2d46800706ee5230a6cb85574d6add22ab0af (patch)
tree8e6a0b8fdde17a29ba2cbb0610c5be7e0b6608f0 /src/scratchpad
parent55897d88158d09d847618a2db0b3c753c5b38d55 (diff)
downloadpoi-e6a2d46800706ee5230a6cb85574d6add22ab0af.tar.gz
poi-e6a2d46800706ee5230a6cb85574d6add22ab0af.zip
Compiler/IDE warnings, unnecessary keywords,
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761675 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
-rw-r--r--src/scratchpad/src/org/apache/poi/hmef/Attachment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hmef/Attachment.java b/src/scratchpad/src/org/apache/poi/hmef/Attachment.java
index 89b063c263..59c90a4dc0 100644
--- a/src/scratchpad/src/org/apache/poi/hmef/Attachment.java
+++ b/src/scratchpad/src/org/apache/poi/hmef/Attachment.java
@@ -137,6 +137,8 @@ public final class Attachment {
/**
* Returns the contents of the attachment.
+ *
+ * @throws IllegalArgumentException if there is no AttachmentData available in this Attachment
*/
public byte[] getContents() {
TNEFAttribute contents = getAttribute(TNEFProperty.ID_ATTACHDATA);