valerybokov commented on PR #215: URL: https://github.com/apache/pdfbox/pull/215#issuecomment-3194451059
I not used ChatGPT but what I see? The check what works from left to right. We have 2 branches: 1) the remaining variable is bigger then Integer.MAX_VALUE and it is bigger then 0. So we able to exclude second check 2) the remaining variable is bigger then Integer.MAX_VALUE and omitTrailingZeros is false So, we really able to exclude the condition '&& (!omitTrailingZeros || remaining > 0)'. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org