We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56c77c2 commit 01442d4Copy full SHA for 01442d4
fastexcel-reader/src/main/java/org/dhatim/fastexcel/reader/OPCPackage.java
@@ -168,13 +168,10 @@ private InputStream getEntryContent(String name) throws IOException {
168
while (entries.hasMoreElements()) {
169
ZipArchiveEntry e = entries.nextElement();
170
if (e.getName().equalsIgnoreCase(name)) {
171
- entry = e;
172
- break;
+ return zip.getInputStream(e);
173
}
174
175
- if (entry == null) {
176
- return null;
177
- }
+ return null;
178
179
return zip.getInputStream(entry);
180
0 commit comments