Remove redundant null check
Merge pull request #263 from martin-grofcik/null-check

Remove redundant null check