I hava a project on github that is analysed by codacy . The analysis suggest to \"Avoid using null\" for the following line of code:
def doS
If path might actually be null this is probably the simplest.
path
null
require(Option(path).isDefined, "Must have a real Path")