You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Thiago Veronezi (JIRA)" <ji...@apache.org> on 2014/10/29 13:25:33 UTC

[jira] [Updated] (JOHNZON-16) RFC4627AwareInputStreamReader has unreachable code

     [ https://issues.apache.org/jira/browse/JOHNZON-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago Veronezi updated JOHNZON-16:
-----------------------------------
    Attachment: remove_unreachable_improve_test_coverage.patch

This patch proposes the removal of the unreachable code and improves the test coverage to 100%.

> RFC4627AwareInputStreamReader has unreachable code
> --------------------------------------------------
>
>                 Key: JOHNZON-16
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-16
>             Project: Johnzon
>          Issue Type: Improvement
>            Reporter: Thiago Veronezi
>            Priority: Minor
>         Attachments: remove_unreachable_improve_test_coverage.patch
>
>
> The RFC4627AwareInputStreamReader#getCharset method has some unreachable branches. Therefore, it is not 100% covered by the unit tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)