You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/06/18 19:48:25 UTC

[jira] [Comment Edited] (PDFBOX-2147) Clean up code with "inspect and transform"

    [ https://issues.apache.org/jira/browse/PDFBOX-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14035962#comment-14035962 ] 

Tilman Hausherr edited comment on PDFBOX-2147 at 6/18/14 5:48 PM:
------------------------------------------------------------------

Fix .equals(null) in rev 1603517.

Replaced isEmpty() with of .equals("") in rev 1603524.

Replaced isEmpty() with .size() == 0 in rev 1603528.

Replaced 1 sized string with character for indexof() in rev 1603531 and 1603533.

Replace redundant "if" statements in rev 1603539 and 1603539.

Replace loops with foreach loop in rev 1603546.


was (Author: tilman):
Fix .equals(null) in rev 1603517.

Replaced isEmpty() with of .equals("") in rev 1603524.

Replaced isEmpty() with .size() == 0 in rev 1603528.

Replaced 1 sized string with character for indexof() in rev 1603531 and 1603533.

> Clean up code with "inspect and transform"
> ------------------------------------------
>
>                 Key: PDFBOX-2147
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2147
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> I'm doing some code clean up with Netbeans "Inspect and Transform" feature. (Which I already used for PDFBOX-2146)



--
This message was sent by Atlassian JIRA
(v6.2#6252)