<BUG>PlanProxy plan = lookupPlan(service, broker.getRepositoryPlanId());createBucket(bucketName, service, plan);}</BUG><CONTEXT>String bucketName = broker.getRepositoryBucket();String userName = broker.getRepositoryUser();if (!bucketExists(bucketName)) {ServiceDefinitionProxy service = lookupServiceDefinition(broker.getRepositoryServiceId());<extra_id_0>if (!userExists(userName)) {UserSecretKey secretKey = createUser(userName);</CONTEXT>
createBucket(bucketName, service,service.findPlan(broker.getRepositoryPlanId()));}