Skip to content

Commit

Permalink
fixing execution save
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikebbers committed Dec 20, 2023
1 parent 4144629 commit c00f636
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import edu.umd.cs.findbugs.annotations.NonNull;
import java.util.Collections;
import java.util.Objects;
import java.util.Optional;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

Expand All @@ -25,11 +24,6 @@ public BenchmarkService(final @NonNull BenchmarkRepository benchmarkRepository,
this.tenantService = Objects.requireNonNull(tenantService, "tenantService must not be null");
}

public Optional<Benchmark> findByName(String name) {
return benchmarkRepository.findByName(name)
.map(e -> new Benchmark(e.getId(), e.getName(), Collections.unmodifiableMap(e.getParams())));
}

@Override
protected TenantService getTenantService() {
return tenantService;
Expand Down

0 comments on commit c00f636

Please sign in to comment.