commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TheRealHaui <>
Subject [GitHub] commons-imaging pull request #27: Increase code coverage one
Date Mon, 17 Jul 2017 17:21:55 GMT
Github user TheRealHaui commented on a diff in the pull request:
    --- Diff: src/test/java/org/apache/commons/imaging/common/bytesource/
    @@ -66,6 +64,22 @@ protected File createTempFile(final byte src[]) throws IOException
             final byte longArray[] = (baos.toByteArray());
    -        return new byte[][] { emptyArray, single, simple, zeroes, longArray, };
    +        return new byte[][]{emptyArray, single, simple, zeroes, longArray,};
    +    }
    +    @Test
    --- End diff --
    Yes, I know.
    However, for what reason ever I experienced a lot of people preferring the try/catch notation
over the annotation approach.
    That's why I write/wrote it this way.
    In the hope to have to rewrite as less code in the end as possible.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message