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:27:34 UTC

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

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

Thiago Veronezi edited comment on JOHNZON-16 at 10/29/14 12:27 PM:
-------------------------------------------------------------------

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

[^remove_unreachable_improve_test_coverage.patch]



was (Author: tveronezi):
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)