You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/07/17 01:46:10 UTC
svn commit: r1902788 - /poi/trunk/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java
Author: fanningpj
Date: Sun Jul 17 01:46:10 2022
New Revision: 1902788
URL: http://svn.apache.org/viewvc?rev=1902788&view=rev
Log:
[github-356] extra condition change
Modified:
poi/trunk/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java?rev=1902788&r1=1902787&r2=1902788&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hpsf/TypedPropertyValue.java Sun Jul 17 01:46:10 2022
@@ -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;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org