add copyright notice for adjustArgsIfBasicConsume method