replace use of another method removed in updated guava library