ARTEMIS-1401 fixing test (NPE on EmptyCriticalAnalyzer)
This commit is contained in:
parent
d402756e09
commit
d414a1968b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue