Commit 1fa8ff04 authored by Christian Wulf's avatar Christian Wulf

added null check

parent 93296b5b
#FindBugs User Preferences
#Mon Jul 27 14:55:35 CEST 2015
#Thu Jul 30 13:22:16 CEST 2015
detector_threshold=2
effort=max
excludefilter0=.fbExcludeFilterFile|true
......
......@@ -29,6 +29,10 @@ abstract class AbstractRunnableStage implements Runnable {
protected final Logger logger;
public AbstractRunnableStage(final Stage stage) {
if (stage == null) {
throw new IllegalArgumentException("Argument stage may not be null");
}
this.stage = stage;
this.logger = LoggerFactory.getLogger(stage.getClass());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment