]> source.dussan.org Git - poi.git/commitdiff
[github-356] extra condition change
authorPJ Fanning <fanningpj@apache.org>
Sun, 17 Jul 2022 01:46:10 +0000 (01:46 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 17 Jul 2022 01:46:10 +0000 (01:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902788 13f79535-47bb-0310-9956-ffa450edef68

poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java

index 1b4f5c648900d6e3e4a8978d3302123f4b8315d6..2be08b3b09ded74b84e86fd690ff5bb8ab635822 100644 (file)
@@ -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;
             }