valerybokov edited a comment on pull request #107: URL: https://github.com/apache/pdfbox/pull/107#issuecomment-855397628
PDPageLabels.LabelGenerator.next. Row "while (label.lastIndexOf(0) != -1)". This loop removes all symbols in a string before the null bytes including them. If we need to do it why not use label.indexOf without loop? And do we need to remove null bytes from the end of the string, or all null bytes in the string (check comment to the code)? -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
