You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/09/08 01:31:10 UTC

activemq-artemis git commit: ARTEMIS-1401 fixing test (NPE on EmptyCriticalAnalyzer)

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 <cl...@apache.org>
Authored: Thu Sep 7 21:30:34 2017 -0400
Committer: Clebert Suconic <cl...@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