aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2014-02-14 01:00:45 +0000
committerAndreas Beeker <kiwiwings@apache.org>2014-02-14 01:00:45 +0000
commit2e6de07eb1cf1495d6fd739ef85aec810d6cea1d (patch)
tree9c65d6c912d01074ede8d07ce3cedfdd1dd32517 /src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java
parent334aaad728c7e526383f63b0a0f806d266e41880 (diff)
downloadpoi-2e6de07eb1cf1495d6fd739ef85aec810d6cea1d.tar.gz
poi-2e6de07eb1cf1495d6fd739ef85aec810d6cea1d.zip
FindBugs fix
- fixed "Should be a static inner class" - see http://findbugs.sourceforge.net/bugDescriptions.html#SIC_INNER_SHOULD_BE_STATIC git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568178 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java')
-rw-r--r--src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java b/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java
index 45674f897e..f7f334c75c 100644
--- a/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java
+++ b/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java
@@ -66,6 +66,7 @@ public class ZipInputStreamZipEntrySource implements ZipEntrySource {
}
public InputStream getInputStream(ZipEntry zipEntry) {
+ assert (zipEntry instanceof FakeZipEntry);
FakeZipEntry entry = (FakeZipEntry)zipEntry;
return entry.getInputStream();
}