<BUG>if (names.contains(OfferUtils.idToName(2))) {</BUG><CONTEXT>@Overridepublic boolean canLaunch(RecoveryRequirement recoveryRequirement) {Set<String> names = recoveryRequirement.getOfferRequirement().getTaskRequirements().stream().map(it -> it.getTaskInfo().getName()).collect(Collectors.toSet());<extra_id_0>return false;}return true;</CONTEXT>
public void launchHappened(Protos.Offer.Operation launchOperation, RecoveryRequirement.RecoveryType recoveryType) {if (names.contains(OfferUtils.brokerIdToTaskName(2))) {