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