[tor-commits] [collector/release] Replace Option.ifPresent() with functional style.