You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Hong-Thai Nguyen (JIRA)" <ji...@apache.org> on 2014/05/02 14:58:14 UTC
[jira] [Updated] (PDFBOX-2054) Remove System.out.println()
[ https://issues.apache.org/jira/browse/PDFBOX-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hong-Thai Nguyen updated PDFBOX-2054:
-------------------------------------
Description:
For example at GlyfSimpleDescript.java
{code}
...
catch (ArrayIndexOutOfBoundsException e)
{
System.out.println("error: array index out of bounds");
}
{code}
and also 'printStackTrace' like in PageDrawer.java:
{code}
...
catch( IOException io )
{
io.printStackTrace();
}
{code}
Should forward exception or keep silence.
was:
For example at GlyfSimpleDescript.java
{code}
...
catch (ArrayIndexOutOfBoundsException e)
{
System.out.println("error: array index out of bounds");
}
{code}
Should forward exception or keep silence.
> Remove System.out.println()
> ---------------------------
>
> Key: PDFBOX-2054
> URL: https://issues.apache.org/jira/browse/PDFBOX-2054
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.8.4
> Reporter: Hong-Thai Nguyen
> Priority: Minor
>
> For example at GlyfSimpleDescript.java
> {code}
> ...
> catch (ArrayIndexOutOfBoundsException e)
> {
> System.out.println("error: array index out of bounds");
> }
> {code}
> and also 'printStackTrace' like in PageDrawer.java:
> {code}
> ...
> catch( IOException io )
> {
> io.printStackTrace();
> }
> {code}
> Should forward exception or keep silence.
--
This message was sent by Atlassian JIRA
(v6.2#6252)