[cleanup] switched to guava preconditions