aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-07-17 01:46:10 +0000
committerPJ Fanning <fanningpj@apache.org>2022-07-17 01:46:10 +0000
commitdc7e2de82eef66051ae7684a9fae15f7540e4460 (patch)
tree41bb3ab5b88b9b17d7c94cf301b1f4d06ee4974d
parent773ad5e8251a43b822793cb265a04a80793be4c7 (diff)
downloadpoi-dc7e2de82eef66051ae7684a9fae15f7540e4460.tar.gz
poi-dc7e2de82eef66051ae7684a9fae15f7540e4460.zip
[github-356] extra condition change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902788 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java b/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java
index 1b4f5c6489..2be08b3b09 100644
--- a/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java
+++ b/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java
@@ -255,7 +255,7 @@ public class TypedPropertyValue {
for (int i=0; i<skipBytes; i++) {
lei.mark(1);
int b = lei.read();
- if (b == -1 || b != 0) {
+ if (b != 0) {
lei.reset();
break;
}