Tokens::getImportUseIndexes - simplify function
minor #898 Tokens::getImportUseIndexes - simplify function (keradus)

This PR was merged into the 1.5 branch.

Discussion
----------

Tokens::getImportUseIndexes - simplify function

Refs: #860

// cc @ceeram

Commits
-------

720b391 Tokens::getImportUseIndexes - simplify function