On setting contexts in rollback methods

I noticed that the Liquibase.rollback(foobar, Writer output) function in turn calls rollback(foobar). In both the versions the first line sets contexts thus:

    changeLogParameters.setContexts(StringUtils.splitAndTrim(contexts, ","));

I want to understand if this is really necessary to set contexts in the rollback(foobar , Writer output) version as it in turn calls the other variant anyway.

Regards,
Shantanu

You are right, we don’t need to make that call in both places.

Nathan