This is an automated email from the git hooks/post-receive script. eugene-guest pushed a commit to annotated tag testng-6.9.5 in repository testng.
commit 0b1976330472ba2b5fbb22b0c1ad8dc5b046a10a Author: Julien Herr <[email protected]> Date: Thu Jun 4 15:10:27 2015 +0200 Useless check --- src/main/java/org/testng/internal/ExpectedExceptionsHolder.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/org/testng/internal/ExpectedExceptionsHolder.java b/src/main/java/org/testng/internal/ExpectedExceptionsHolder.java index 2ae74b4..4c1a82d 100755 --- a/src/main/java/org/testng/internal/ExpectedExceptionsHolder.java +++ b/src/main/java/org/testng/internal/ExpectedExceptionsHolder.java @@ -52,10 +52,7 @@ public class ExpectedExceptionsHolder extends AbstractExpectedExceptionsHolder { // New syntax ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); if (testAnnotation != null) { - Class<?>[] ee = testAnnotation.getExpectedExceptions(); - if (ee.length > 0) { - return testAnnotation.getExpectedExceptionsMessageRegExp(); - } + return testAnnotation.getExpectedExceptionsMessageRegExp(); } return DEFAULT_REGEXP; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

