We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a137a16 commit 8d9a1b2Copy full SHA for 8d9a1b2
1 file changed
java/opendataloader-pdf-core/src/main/java/org/opendataloader/pdf/processors/AutoTaggingProcessor.java
@@ -642,7 +642,7 @@ private static List<StreamInfo> getMergedStreamInfos(List<StreamInfo> streamInfo
642
while (streamInfoIterator.hasNext()) {
643
StreamInfo currentStreamInfo = streamInfoIterator.next();
644
if (previousInfo.getOperatorIndex() == currentStreamInfo.getOperatorIndex() &&
645
- previousInfo.getEndIndex() == currentStreamInfo.getStartIndex()) {
+ previousInfo.getEndIndex() <= currentStreamInfo.getStartIndex()) {
646
previousInfo.setEndIndex(currentStreamInfo.getEndIndex());
647
} else {
648
streamInfoList.add(currentStreamInfo);
0 commit comments