[ https://issues.apache.org/jira/browse/PDFBOX-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler reassigned PDFBOX-6000: ------------------------------------------ Assignee: Andreas Lehmkühler > remove unnecessary iteration and StringBuilder creation > ------------------------------------------------------- > > Key: PDFBOX-6000 > URL: https://issues.apache.org/jira/browse/PDFBOX-6000 > Project: PDFBox > Issue Type: Improvement > Reporter: Axel Howind > Assignee: Andreas Lehmkühler > Priority: Minor > Attachments: > remove_unnecessary_iteration_and_StringBuilder_creation.patch > > > As the size is known beforehand, we can see that the loop runs exactly once. > So the loop can be removed and we can avoid storing the input in a temporary > StringBuilder instance. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org