activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: ARTEMIS-1401 fixing test (NPE on EmptyCriticalAnalyzer)
Date Fri, 08 Sep 2017 01:31:10 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master d402756e0 -> d414a1968


ARTEMIS-1401 fixing test (NPE on EmptyCriticalAnalyzer)


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/d414a196
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/d414a196
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/d414a196

Branch: refs/heads/master
Commit: d414a1968b3ec11d50376dbc45fbcd0d29ccd5eb
Parents: d402756
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Thu Sep 7 21:30:34 2017 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Thu Sep 7 21:30:34 2017 -0400

----------------------------------------------------------------------
 .../activemq/artemis/utils/critical/EmptyCriticalAnalyzer.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/d414a196/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/critical/EmptyCriticalAnalyzer.java
----------------------------------------------------------------------
diff --git a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/critical/EmptyCriticalAnalyzer.java
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/critical/EmptyCriticalAnalyzer.java
index a5064ce..516605e 100644
--- a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/critical/EmptyCriticalAnalyzer.java
+++ b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/critical/EmptyCriticalAnalyzer.java
@@ -62,7 +62,7 @@ public class EmptyCriticalAnalyzer implements CriticalAnalyzer {
 
    @Override
    public CriticalAnalyzer setCheckTime(long timeout, TimeUnit unit) {
-      return null;
+      return this;
    }
 
    @Override
@@ -72,7 +72,7 @@ public class EmptyCriticalAnalyzer implements CriticalAnalyzer {
 
    @Override
    public CriticalAnalyzer setTimeout(long timeout, TimeUnit unit) {
-      return null;
+      return this;
    }
 
    @Override


Mime
View raw message