Ignore license file from license header check
Resolve call to a deprecated method