[testng] 76/160: Hide private method

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:22:23 UTC 2015


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 af3bd3b36a94b474fdfd2dc0b7db5680132f5982
Author: Julien Herr <julien.herr at alcatel-lucent.com>
Date:   Thu Jun 4 13:35:11 2015 +0200

    Hide private method
---
 src/main/java/org/testng/internal/ExpectedExceptionsHolder.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/testng/internal/ExpectedExceptionsHolder.java b/src/main/java/org/testng/internal/ExpectedExceptionsHolder.java
index e497e3d..46a3a4b 100755
--- a/src/main/java/org/testng/internal/ExpectedExceptionsHolder.java
+++ b/src/main/java/org/testng/internal/ExpectedExceptionsHolder.java
@@ -51,7 +51,7 @@ public class ExpectedExceptionsHolder {
    *   null             true    false
    *   non-null         true    match
    */
-  public boolean messageRegExpMatches(Throwable ite) {
+  private boolean messageRegExpMatches(Throwable ite) {
     if (".*".equals(messageRegExp)) {
       return true;
     } else {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list