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
|
@Override
|
||||||
public CriticalAnalyzer setCheckTime(long timeout, TimeUnit unit) {
|
public CriticalAnalyzer setCheckTime(long timeout, TimeUnit unit) {
|
||||||
return null;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -72,7 +72,7 @@ public class EmptyCriticalAnalyzer implements CriticalAnalyzer {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CriticalAnalyzer setTimeout(long timeout, TimeUnit unit) {
|
public CriticalAnalyzer setTimeout(long timeout, TimeUnit unit) {
|
||||||
return null;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue